[macOS] Invisible one-pixel border on the right hand side that breaks fitts law (can't click items in bottom right hand corner by moving mouse to the edge of the screen/display)
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: 5silentrain, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0
Steps to reproduce:
- Open any YouTube video
- Go to full screen mode by double-clicking on the video or by pressing the F key on your keyboard
- Move the mouse cursor to the lower right corner and click there LMB
Actual results:
Nothing happens!
Expected results:
I have to exit full screen mode by simply moving the mouse cursor to the lower right corner and clicking there. This is very handy if you need to quickly exit (literally blindly) from full-screen mode using only the mouse. A long time ago this problem was present in Firefox from under Windows, but then it was fixed. Now I am facing the same problem, but from under macOS. By the way, Chrome and Safari do not have this issue.
There is at least one other use case where this invisible one-pixel border is a big problem:
- Open any site, for example this one: https://html5test.com/
- Switch to full screen mode by pressing the keyboard shortcut Control + Command + F or Command + Shift + F.
- We rest the mouse cursor on the right border of the screen (where we have the scrollbar) and, holding the LMB, try to move the scrollbar. Nothing works out for us, because again this invisible one-pixel frame at the screen border interferes.
And again, this problem is not present in Chrome or Safari. Would like consistency with other web browsers.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Comment 2•2 years ago
|
||
If the idea is to quickly hide YouTube's semi-transparent interface by hovering the mouse over the right edge of the screen, that doesn't work very well on macOS. Simply because the cursor still remains visible, even when it is close to the right edge of the screen.
Comment 3•2 years ago
|
||
Hi 5silentrain, Thanks for the report. Unfortunately, I cannot reproduce this issue on my MacBook pro. Can you try to reproduce this in Troubleshoot Mode or a fresh profile? This problem may be caused by some add-ons. (In reply to 5silentrain from comment #0)
Steps to reproduce:
- Move the mouse cursor to the lower right corner and click there LMB
Does the lower right corner mean the exit-full-screen button on Youtube's UI, which does the same job as pressing the F key?
I have to exit full screen mode by simply moving the mouse cursor to the lower right corner and clicking there. This is very handy if you need to quickly exit (literally blindly) from full-screen mode using only the mouse. A long time ago this problem was present in Firefox from under Windows, but then it was fixed.
Do you remember what bug number that bug is? It might be helpful for us to identify which component causes the issue.
Reporter | ||
Comment 4•2 years ago
|
||
Are you sure you rested the mouse cursor in the lower right corner? If you make a mistake by 1 pixel, you won't be able to detect the bug.
Hi 5silentrain, Thanks for the report. Unfortunately, I cannot reproduce this issue on my MacBook pro. Can you try to reproduce this in Troubleshoot Mode or a fresh profile? This problem may be caused by some add-ons. (In reply to 5silentrain from comment #0)
I already tried. It doesn't help.
Does the lower right corner mean the exit-full-screen button on Youtube's UI, which does the same job as pressing the F key?
Yes!
I have a Mac mini with an M1 chip connected to an LG 27UP650-W monitor with 4K resolution (3840×2160) . Scaling in macOS is set to Full HD (1920×1080). That is, the resolution is divided in half. Maybe this is the issue?
Please check on a Mac with an M1 chip and a resolution that can be divided by two.
Once again, Chrome and Safari don't have this problem and the bottom right corner allows you to click the Exit Full Screen button by pressing the left mouse button.
Do you remember what bug number that bug is? It might be helpful for us to identify which component causes the issue.
No, I don't know the number of this bug. But it is unlikely that this problem is somehow related to what was in Windows. Still, macOS is a completely different operating system, even despite the cross-platform nature of Firefox.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 5•2 years ago
|
||
Can you ask someone else to check this bug?
Reporter | ||
Comment 6•2 years ago
|
||
Are you sure you rested the mouse cursor in the lower right corner? If you make a mistake by 1 pixel, you won't be able to detect the bug.
I advise you to use a regular mouse for this, and not a MacBook trackpad. And preferably not a Magic Mouse, but an ordinary one with a scroll wheel (and even better a gaming one 😉).
Comment 7•2 years ago
|
||
(In reply to 5silentrain from comment #6)
a regular mouse for this, and not a MacBook trackpad. And preferably not a Magic Mouse, but an ordinary one with a scroll wheel
I still cannot reproduce this.
(In reply to 5silentrain from comment #4)
No, I don't know the number of this bug. But it is unlikely that this problem is somehow related to what was in Windows. Still, macOS is a completely different operating system, even despite the cross-platform nature of Firefox.
The UI implementation is platform-independent.
It seems the problem is more like a video control bar issue or Youtube UI issue (if the problem only occurs in youtube) rather than a playback issue since the video and audio decoders work normally. I am going to move this to video control to see if anyone can judge the problem better.
Reporter | ||
Comment 8•2 years ago
|
||
There is at least one other use case where this invisible one-pixel border is a big problem:
- Open any site, for example this one: https://html5test.com/
- Switch to full screen mode by pressing the keyboard shortcut Control + Command + F or Command + Shift + F.
- We rest the mouse cursor on the right border of the screen (where we have the scrollbar) and, holding the LMB, try to move the scrollbar. Nothing works out for us, because again this invisible one-pixel frame at the screen border interferes.
And again, this problem is not present in Chrome or Safari. Would like consistency with other web browsers.
Comment 9•2 years ago
|
||
This looks like an issue with DOM fullscreen and/or in cocoa widget code to me, not the builtin video controls (which youtube doesn't use anyway).
Comment 10•2 years ago
|
||
I don't have an external screen with the specifications you describe and can't reproduce on my M1 macbook pro.
What numbers show up if you open the web console (cmd-opt-k) and evaluate screen.width
and window.innerWidth
, while you're in this fullscreen mode that has this invisible pixel on the right hand side?
Reporter | ||
Comment 11•2 years ago
|
||
What numbers show up if you open the web console (cmd-opt-k) and evaluate screen.width and window.innerWidth, while you're in this fullscreen mode that has this invisible pixel on the right hand side?
Where exactly can I see this in the console?
Comment 12•2 years ago
|
||
I can reproduce this, both on my 16" M1Max machine and on my 13.3" M1 machine, on the internal screen.
In the Displays system preferences, I've set both machines to the second resolution from the right. I'm not completely sure about the 13.3" machine, but for the 16" machine it's the one whose tooltip says "1728x1117".
Comment 13•2 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #12)
I can reproduce this, both on my 16" M1Max machine and on my 13.3" M1 machine, on the internal screen.
In the Displays system preferences, I've set both machines to the second resolution from the right. I'm not completely sure about the 13.3" machine, but for the 16" machine it's the one whose tooltip says "1728x1117".
OK, with this I can reproduce.
I still don't really understand what's up though - everything down to the <browser>
reports the same CSS pixel width as that tooltip (1728).
I can also reproduce the scroll bar issue with Firefox 78, so if it's a regression it's not recent.
Reporter | ||
Comment 14•2 years ago
|
||
OK, with this I can reproduce.
Finally! 🎉 🥳 😀
Comment 15•2 years ago
|
||
Edgar, you've worked with fullscreen. Do you have an idea of what's going on?
Comment 16•2 years ago
|
||
It doesn't look like an issue with Fullscreen as I could also reproduce the scroll bar issue without entering fullscreen mode, my STR:
- Open https://html5test.com/
- Maximum the window
- Move mouse cursor to right border of the screen
- Click mouse left key when scroll bar is shown, scroll bar doesn't move.
And when issue occurred, I saw following error in the log
JavaScript error: resource:///modules/UrlbarInput.sys.mjs, line 3218: TypeError: event.target.closest is not a function
I also see same error on YouTube case, so this error might be relevant?
Updated•2 years ago
|
Reporter | ||
Comment 17•7 months ago
|
||
I checked for a bug in the current latest dev version 129.0b4. The bug/problem is still present.
Reporter | ||
Comment 18•7 months ago
|
||
And the most annoying thing is that this does not work not only on YouTube, but also on any other site. Just go to full screen mode right here on this site to see this.
Reporter | ||
Comment 19•4 months ago
|
||
Unfortunately, the latest dev version 132.0b6 still has this issue.
Description
•