Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1666410 - Firefox-wayland draws menus off screen
Summary: Firefox-wayland draws menus off screen
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 29
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1673291 (view as bug list)
Depends On:
Blocks: ffwayland
TreeView+ depends on / blocked
 
Reported: 2019-01-15 18:25 UTC by Bojan Smojver
Modified: 2019-03-31 08:51 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-15 13:27:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 1339920 0 None None None 2019-03-31 08:49:30 UTC

Description Bojan Smojver 2019-01-15 18:25:00 UTC
Description of problem:
Bookmark menus drawn partially off (outside) screen with native Wayland FF.

Version-Release number of selected component (if applicable):
firefox-wayland-64.0.2-1.fc29.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Customise toolbar by placing bookmarks icon to the left of the hamburger menu.
2. Make FF window big, so that there is just a big of empty space left.
3. Click on Bookmarks icon in the toolbar, hover over Bookmarks Toolbar with the mouse, watch part of the menu disappear off screen.

Actual results:
Menus partially displayed off screen

Expected results:
This works just fine with regular FF. Menus are simply drawn to the left (i.e. on screen).

Additional info:
No idea whether this is a GTK3 bug or not. The Mozilla bug says that stuff like this should be fixed with version 3.24 of GTK. I'm running gtk3-3.24.3-1.fc29.x86_64 and yet this is still happening (stable version does it too). So, opening this bug so that it can be properly tracked.

Comment 1 Bojan Smojver 2019-01-31 09:33:48 UTC
Still the same in firefox-65.0-1.fc29.x86_64.

Comment 2 Martin Stransky 2019-02-28 10:28:06 UTC
This happens when Firefox window is not maximized, correct? As I can't reproduce that in maximized state.

Comment 3 Bojan Smojver 2019-02-28 10:35:05 UTC
(In reply to Martin Stransky from comment #2)
> This happens when Firefox window is not maximized, correct? As I can't
> reproduce that in maximized state.

Correct.

Comment 4 Martin Stransky 2019-02-28 10:52:09 UTC
*** Bug 1673291 has been marked as a duplicate of this bug. ***

Comment 5 Martin Stransky 2019-03-15 13:27:56 UTC
Added to firefox-66.0-2 builds, it's in koji now.

Comment 6 Bojan Smojver 2019-03-15 13:39:48 UTC
(In reply to Martin Stransky from comment #5)
> Added to firefox-66.0-2 builds, it's in koji now.

Awesome. Thanks for chasing this. Looking forward to testing.

Comment 7 Bojan Smojver 2019-03-21 10:59:47 UTC
I just tried the firefox-66.0-6.fc29.x86_64 and it is better, but still doesn't quite work correctly. Many times the sub-menus don't really show when the mouse is over the bookmark folder. And some of the menus also still are outside of the screen.

Progress, for sure, but not quite there.

Comment 8 Martin Stransky 2019-03-21 11:05:48 UTC
(In reply to Bojan Smojver from comment #7)
> I just tried the firefox-66.0-6.fc29.x86_64 and it is better, but still
> doesn't quite work correctly. Many times the sub-menus don't really show
> when the mouse is over the bookmark folder. And some of the menus also still
> are outside of the screen.
> 
> Progress, for sure, but not quite there.

It needs a fix on mutter side - https://gitlab.gnome.org/GNOME/mutter/merge_requests/496

Also it's broken on multi-monitor setup - I'm working on it right now.

Comment 9 Bojan Smojver 2019-03-21 11:08:05 UTC
Thanks, your effort is very much appreciated!

Comment 10 Bojan Smojver 2019-03-23 05:16:26 UTC
BTW -9 is better again, almost completely solved. The only thing that still happens is that exit with mouse from the sub-menu will not close it and occasionally hovering will not open the sub-menu (both of which I'm guessing are mutter things that need fixing). So, thanks again!

Comment 11 Bojan Smojver 2019-03-31 08:51:19 UTC
And 66.0.1-4 is even better. I could not find anything wrong with the bookmark menus. They do behave differently than under X11, but that's to be expected, I guess.


Note You need to log in before you can comment on or make changes to this bug.