Bug 1381722 - Menus out of place on HiDPI 4K scaled apps on Wayland
Summary: Menus out of place on HiDPI 4K scaled apps on Wayland
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk3
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-04 20:06 UTC by Jonathan Briggs
Modified: 2017-12-12 10:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:04:35 UTC
Type: Bug


Attachments (Terms of Use)
Screen shot of the problem. (754.33 KB, image/png)
2016-10-04 20:06 UTC, Jonathan Briggs
no flags Details

Description Jonathan Briggs 2016-10-04 20:06:09 UTC
Created attachment 1207339 [details]
Screen shot of the problem.

Description of problem:
gnome-terminal and gnome-software display their menus in the wrong position and the wrong sizes.

I believe all GTK-3 apps do this.

I will include a screenshot.

As an aside gnome-screenshot does not capture the menu when capturing a window. And led me to a new bug with gnome-screenshot not capturing a second monitor in full desktop capture, but that is for another bug.

Version-Release number of selected component (if applicable):
gtk3-3.22.0-2.fc25.x86_64
gnome-terminal-3.22.0-1.fc25.x86_64
gnome-software-3.22.0-1.fc25.x86_64
gnome-shell-3.22.0-1.fc25.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1. Use a display with HiDPI 4K and scaling 2.
   You might need to set org.gnome.desktop.interface scaling-factor to 2 with
   # gsettings set org.gnome.desktop.interface scaling-factor 2
   If you had to change that then log out. 
2. Log in to a gnome-shell Wayland session.
3. Open a gnome-terminal
4. Right click on the terminal. Or open a menu at the top of the terminal.
   It should appear under the mouse cursor and be full size. If still bugged, it will appear to the up and left and half the size.
5. Open gnome-software. Click on an app. Right-click on some text in a review. Cut, Copy, Paste popup should appear and if working correctly, it should be full size and under the mouse cursor.

Comment 1 Andy Grimm 2016-11-04 18:41:14 UTC
I am having this same issue, and I have run at multiple scaling factors and font sizes.  It does not seem to make a difference. firefox and gnome-terminal are both affected. Firefox is the worst case, where the menu just appears as two arrows, with no way to actually see or select an item from the menu.

I am running on Lenovo T460s at 2560x1440 resolution.

Comment 2 Fedora End Of Life 2017-11-16 19:48:51 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2017-12-12 10:04:35 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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