News for hackers. Stuff that matters.
Re:Just because I have a vertical screen doesn’t mean I’m on... by awillen on Tuesday February 02, 2021 @11:03AM (#26002589)
As a product manager, my immediate response is... not worth the time.

You've chosen to have a unique setup, which is fine, but your use case represents some absolutely miniscule fraction of users. On top of that, it's not even that websites are unusable, just that they're not ideal.

When you decide to do weird/special/unique stuff, don't expect the world to adapt to you. You can rotate your monitor back or live with it. The idea that companies should spend engineering/QA/PM resources to deal with this is... vain.

Re:Just because I have a vertical screen doesn’t mean I’m on... by marssaxman on Tuesday February 02, 2021 @12:59PM (#26004269)
You don't need to rotate your screen; just shrink your browser. I know that lots of people like to use fullscreen windows, but that makes me feel claustrophobic; text ought to be formatted in narrower columns for comfortable reading, so I like narrower browsers. This often fools websites into sending me the phone layout, which is unhelpful and annoying.
Re:Just because I have a vertical screen doesn’t mean I’m on... by NeutronStar on Tuesday February 02, 2021 @02:11PM (#26005192)
So what's your solution? How do we differentiate between a tablet user and someone who decided to shrink their windows?
Re:Just because I have a vertical screen doesn’t mean I’m on... by ironmagma on Tuesday February 02, 2021 @03:20PM (#26006077)
Copying from elsewhere in this thread: `@media (pointer: coarse)`
Re:Just because I have a vertical screen doesn’t mean I’m on... by capableweb on Tuesday February 02, 2021 @04:32PM (#26007036)
Don't think that's quite right either. Pointer coarse would just refer to the device used for pointing. Using a tablet with a mouse would be "pointer: fine" but it's still a tablet.

As always, the issue isn't black and white. There is no solution that always works, because it depends on what you're targeting. If you want to scale elements to be easier clickable for people who might devices where it's harder to click/tap accurately, then "pointer: coarse" makes sense. If you're thinking about scaling elements on the website, some other solution fits better. Which one? Again depends on what you're aiming for.

Re:Just because I have a vertical screen doesn’t mean I’m on... by lolinder on Tuesday February 02, 2021 @10:56PM (#26010441)
The spec distinguishes between "pointer: coarse" and "any-pointer: coarse", where the former only asks about the primary pointer. I'd assume that tablets would leave "pointer" unchanged even if a mouse is plugged in, though I haven't verified that.

And aside from that, shouldn't a tablet where a mouse is being used as the primary input show buttons sized appropriately for a mouse, rather than larger ones? The whole idea of making buttons bigger on mobile is to accommodate thumbs, so it seems like this media query is exactly what we should be using.

Re:Just because I have a vertical screen doesn’t mean I’m on... by samatman on Tuesday February 02, 2021 @06:21PM (#26008480)
> Using a tablet with a mouse would be "pointer: fine"

I would want to check this empirically before accepting it as gospel. At least on the iPad, a mouse pointer is kinda halfway between a finger and a classic mouse pointer, and having to guess, my guess is that Safari doesn't change the designation just because there's a mouse plugged in.

Re:Just because I have a vertical screen doesn’t mean I’m on... by jamiek88 on Tuesday February 02, 2021 @07:38PM (#26009155)
Safari simulates a finger press when mouse is clicked. I’m 99% sure. Will check.
Re:Just because I have a vertical screen doesn’t mean I’m on... by ss64 on Tuesday February 02, 2021 @03:24PM (#26006131)
People with disabilities or visual impairments often have unusual setups that enable them to read. They didn't CHOOSE to be disabled.
Re:Just because I have a vertical screen doesn’t mean I’m on... by kaishiro on Tuesday February 02, 2021 @10:29PM (#26010288)
This discussion isn't about screenreaders or accessibility - and there is nothing to suggest that being delivered a mobile version of a site would make it less accessible by default. In fact, speaking as someone with a blind family member who has done extensive reviews of highly trafficked sites - the mobile version is often vastly more accessible than the desktop version of many top ranking sites.

All of that aside, I think you're being disingenuous in trying to strongarm this as some sort of rebuttal to parents comment.

Re:Just because I have a vertical screen doesn’t mean I’m on... by SulfurHexaFluri on Wednesday February 03, 2021 @12:18AM (#26010835)
Accessibility features are almost always not worth it purely from a profit point of view. They get added because as a society we decided that everyone should go out of their way to accommodate these users because they have no choice and should not be locked out of life.

The author here can simply deal with it or turn their monitor the other way.

Re:Just because I have a vertical screen doesn’t mean I’m on... by awillen on Thursday February 04, 2021 @11:53AM (#26027142)
This isn't about them. This is about a guy who chooses to have his monitor vertical. Don't take things wildly out of context in an effort to make it sound like people have made points which they absolutely have not.
Re:Just because I have a vertical screen doesn’t mean I’m on... by SirSavary on Tuesday February 02, 2021 @04:04PM (#26006615)
Seems to me that proper DPI detection might lead to a better experience across all "unique" monitor setups, not just this one.

Is it extra work? Sure. I thought we referred to that as polish.

Re:Just because I have a vertical screen doesn’t mean I’m on... by SulfurHexaFluri on Wednesday February 03, 2021 @12:20AM (#26010845)
Is DPI a good measure though? Some cheap phones have rubbish DPIs while expensive monitors have very high dpi.

Not sure if this exists already but the idea method would be to use the physical size in cm of the display.

Re:Just because I have a vertical screen doesn’t mean I’m on... by rjmunro on Wednesday February 03, 2021 @08:01AM (#26013219)
I tried dpi.lv on my 2 monitors and my phone. It said:

Resolution: 3360 × 2100 Diagonal: 13.3″ Resolution: 2560 × 1440 Diagonal: 13.3″ Resolution: 2160 × 1080 Diagonal: 13.3″

(my monitors are 15.5" and 27" diagonal, my phone is 6")

Maybe I'm crazy for using my phone in landscape mode, but I'm not sure how I'm supposed to tell which of those measurements is a phone.

Re:Just because I have a vertical screen doesn’t mean I’m on... by TomSwirly on Tuesday February 02, 2021 @02:18PM (#26005283)
> You've chosen to have a unique setup,

But is this unique? Lots of people prefer to have windows that are significantly taller than wide - just like books are. I'd love to see some hard data on this.

> The idea that companies should spend engineering/QA/PM resources to deal with this is... vain.

/eyeroll

Re:Just because I have a vertical screen doesn’t mean I’m on... by speedgoose on Tuesday February 02, 2021 @02:25PM (#26005366)
The author gets a mobile layout not because of the portrait mode but because of zooming on the websites. Most responsive websites do not care about whether the screen is in portrait or landscape.