Open Bug 910144 Opened 12 years ago Updated 3 years ago

Fullscreen: Black bar shown above Firefox when menubar has been moved to second monitor

Categories

(Core :: Widget: Cocoa, defect, P3)

x86
macOS
defect

Tracking

()

People

(Reporter: bugzilla, Unassigned)

References

Details

(Keywords: multi-monitors, Whiteboard: tpi:+[mac:fullscreen:native-affected][mac:fullscreen:nonnative-affected][mac:multimonitor])

Attachments

(3 files)

This was tested with Firefox 23 stable and latest nightly. Steps to reproduce 1. Have an external monitor connected to your laptop (MacBook Pro in this case) 2. Go to /System Preferences/Displays/Arrangement/ 3. Drag the menubar (represented in white) to the external monitor 4. Go fullscreen in the main monitor These steps will result in a black bar shown where the menu bar would have normally been. See screenshot.
Attached image Screenshot of issue
Blocks: 639705
I can't reproduce this. More detailed STR might help. For example is Firefox running before step 1? And if so on which monitor? Also tell us what version of OS X you're running, and whether your MBP is a Retina MBP.
(In reply to Steven Michaud from comment #2) > For example is Firefox running before step 1? And if so on which monitor? I will need to get back to you on this. > Also tell us what version of OS X you're running, and whether your MBP is a > Retina MBP. Using Mountain Lion 10.8.4, on a MBP with a retina display.
(In reply to Steven Michaud from comment #2) > I can't reproduce this. More detailed STR might help. > > For example is Firefox running before step 1? And if so on which monitor? Steps to reproduce 1. Connect a second monitor to the laptop 2. Go to /System Preferences/Displays/Arrangement/ 3. I have the external monitor to the right of my laptop (drag if necessary) 4. Now drag the menubar (represented in white) to the (right) external monitor 5. Start Firefox in the main monitor (on the left) 6. Maximize the window completely with Spectacle 7. Go fullscreen with Firefox in the main monitor I have now noticed the following though: This only happens when the Firefox window is exactly covering the entire window. I use Spectacle (http://spectacleapp.com/) to really maximize the window completely, and I can _only_ trigger this bug if I maximize the window with Spectacle. Note that this only happens in Firefox. I can not reproduce this with any other application (apple's or third party).
I was now able to trigger this bug by manually maximizing the Firefox window. It doesn't depend on Spectacle, it just makes it easier to trigger the bug.
> I was now able to trigger this bug by manually maximizing the Firefox window. How reliably does this reproduce the bug? 100% of the time? 50%? 25%? Any additional steps to follow?
(In reply to Steven Michaud from comment #6) > > I was now able to trigger this bug by manually maximizing the Firefox window. > > How reliably does this reproduce the bug? 100% of the time? 50%? 25%? Basically every time when you really maximize the window to use 100% of the screen. This is easily triggered by any tool that maximizes the screen 100% on a screen that has no menubar. > Any additional steps to follow? Easy way to see bug, install Spectacle. If you wanna trigger manually, then just maximize the Firefox window on the screen without the menubar to really be 100% maximized, without any gaps on the side or top/bottom.
Another thing that should _not_ be present (apart from the menubar) on the monitor is the taskbar. To sum up, this issue is visible when * the menubar has been moved to the external monitor * the taskbar also appears on the external monitor * firefox is maximized 100% with no gaps on the monitor that has no menubar and no taskbar
Spectacle does *not* put a window in fullscreen mode -- at least not in my tests. Instead it zooms it up to fill the entire window except the menubar -- the same functionality you get in Firefox by clicking on the green zoom button. And no, I can't reproduce this bug even with Spectacle.
Do you see this bug with a clean FF profile, even using Spectacle?
Do you have any other special apps (like Spectacle) that might be interfering with your results?
(In reply to Steven Michaud from comment #11) > Do you have any other special apps (like Spectacle) that might be > interfering with your results? No, Spectacle is the only app that could be interfering. > Do you see this bug with a clean FF profile, even using Spectacle? Yes, this can be reproduced with a clean profile as well.
Attached video Movie showing the issue
Same thing happens in 10.9 Mavericks when going fullscreen on the main screen that doesnt have any dock (its on the other screen).
This issue is easier to reproduce (no need to use Spectacle) in Mavericks: 1. Connect a second monitor to the laptop (MacBook Pro Retina) 2. Move the dock to the external monitor 3. Have Firefox running on the laptop monitor (without the dock) 4. Maximize Firefox (by clicking the green maximize button) 5. go fullscreen
Depends on: 931826
I'm having this exact same issue. Using Firefox on Mavericks in a secondary monitor (the one that doesn't have the Dock), whether this secondary monitor is the external one or the main one, and going fullscreen, makes it show that black bar. If Firefox is in the primary monitor, everything works like it should.
The Mavericks issue is tracked in Bug 931826 (though the underlying issue may be the same). If you have any new information or steps to reproduce than is available in that bug, please add the information. Otherwise, you can vote for that bug (see "Importance" field) to raise awareness. Thanks!
I can't reproduce this issue anymore with today's nightly. Can anybody confirm?
I'm reproducing it all the time with Firefox 33.0, Mac OS X 10.9.5, with a 4K external monitor. Every time I close Firefox and start it, the black bar comes back up until a reboot of the system.
Just in case people can't find the other sites, disabling hardware acceleration seems to solve the issue for me. https://support.mozilla.org/en-US/questions/876302
Can confirm I just started encountering this bug on latest beta 35b2 and on latest release 34.0.5. I'm on OS X 10.10.1 and it started since i attached a 4K monitor to my MBP 15". (today) Even if I restart the computer or Firefox with the external 4k monitor attached, the black bar always appears. I can not get rid of it. The only way to get rid of it is to disconnect the external 4k monitor and reconnect it. At that point, the black bar disappears and Firefox looks and works normally. I can reproduce this pretty much all the time. Thank you.
I should also mention that I'm using the 4k monitor in non Retina mode. I'm basically using a scaled resolution to get more desktop space. Same thing for the built in monitor in the MBP 15". If any of the devs are interesting in fixing this bug, let me know and I'll be glad to provide info.
Me too, in my environment, a black stick is displayed always. (not using Fullscreen) This problem seems to occur in Firefox 29 or above. MacBook Pro 2013 Late / Mac OS 10.9.5 Second Display: DELL P2815 (Scaled Resolution)
I upgraded the OS to Mac OS 10.10.3. But, The situation does not change.
This issue is still current. OS X 10.10.3 Firefox 37.0.1 DisplayPort: Dell P2715Q HiDPI: 2304x1296 or 2560x1440 or 3008x1692 or 3200x1800 (just tested these non 4 to 1 modes, e.g. where pixels don't map 4 to 1) Does not happen on HiDPI 1920x1080 (where pixels map 4 to 1). Does not happen if HiDPI is disabled and the Monitor is set to non-HiDPI 3840x2160 or non-HiDPI 2560x1400 Resizing the window and then resizing it back to max width/height stops the issue (after some resizing/movement).
I think it didn't happen for the internal monitor on diverse HiDPI modes (I am switching HiDPI regularily depending on my view distance)
I'm running my display in 2304x1296 and this happens to me as well. I've found it to happen whenever Firefox starts with 2049 or more pixels in width. This is how it looks: http://i.imgur.com/1P4g5ks.png screenshot is twice as large of course because of retina/pixel doubling.
Happens everytime in maximised mode for both Firefox and Thunderbird (just latest version released just a few days ago) on 4K Display (Dell UP3214Q)
Bug 1191507 comment #8 has 100% effective STR.
I'd like to point out that this issue is not specific to secondary displays. My Mac Pro single display setup is affected. And the black bar is there the moment Firefox starts (if window width exceeds 2048 pixels). No need for fullscreen changing.
I just got a 4k monitor and when using 1440p scaling I get the same experience as #comment31. The one workaround I found is to disable HW acceleration but that's a pretty big hammer since it disables lot of needed functionality and causes performance issues.
Now on 47.0a2 (2016-03-11) the black bars are persistent if the window is initialised with too great of a width. Previously I could fix this problem by resizing the window big (with black bars) -> small (black bars disappear) -> big (black bars still gone). If the window width is less than the threshold value (2048 pixels on my setup) when the window is created the black bars do not appear. Very irritating.
+1 OS: MacOSX :10.11.4 Firefox: 46.0 MacBookPro : Retina, 15-inch, Mid 2014 Attached :Dell 4K Monitor Black lines, like mentioned above. They disappear only when I change the scaled / resolution from system Preferences- from the current state to another and then back to the current one.
Adrian Göransson, vnagarnaik & Paris: Please file a separate bug as that seems unrelated to the fullscreen issue being discussed here.
Bug 1275070 created.
See Also: → 1275070
Priority: -- → P3
Whiteboard: tpi:+
Can still repro with Firefox 61.0.1 on macOS 10.13.5.
See Also: → 862893
Whiteboard: tpi:+ → tpi:+[mac:fullscreen]
Keywords: multi-monitors
Whiteboard: tpi:+[mac:fullscreen] → tpi:+[mac:fullscreen][mac:multimonitor]

We tried reproducing the issue with macOS 10.15 and 11.2.3 using Firefox 88.0a1 (20210317212527) and 4k TV but with no luck. Unfortunately, we don't have macOS 10.13 and 4k monitor attached as stated in the above comments. I will update this comment if we manage to find the necessary hardware for this.

L.E.: we tried on 10.14 as well with 4k tv and we cannot reproduce.

Per comment 31, this isn't specific to fullscreen or multimonitor. However, it seems to affect users with multiple monitors or users in fullscreen mode disproportionately more, so I'm going to leave the whiteboard tags in place.

Whiteboard: tpi:+[mac:fullscreen][mac:multimonitor] → tpi:+[mac:fullscreen:native-affected][mac:fullscreen:nonnative-affected][mac:multimonitor]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: