Bug 1656444 - With rotated monitor, the "maximize" height is not the full heights of the screen and panel menu is displayed detached from the panel
Summary: With rotated monitor, the "maximize" height is not the full heights of the sc...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xfwm4
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-05 14:12 UTC by Jan Pazdziora
Modified: 2019-05-21 10:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-21 10:43:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Panel menu is not right above the panel (1.44 MB, image/png)
2018-12-05 14:12 UTC, Jan Pazdziora
no flags Details

Description Jan Pazdziora 2018-12-05 14:12:20 UTC
Created attachment 1511696 [details]
Panel menu is not right above the panel

Description of problem:

I have a 1600x1200 monitor that I have rotated to the right, so in the Settings > Display I have it configured with Rotation Left. So I have 1200 (w) x 1600 (h) display and xdpyinfo thinks so as well:

$ xdpyinfo | grep dimensions
  dimensions:    1200x1600 pixels (318x423 millimeters)

After upgrade from Fedora 28 to 29 via https://fedoraproject.org/wiki/DNF_system_upgrade, it looks as some operations like maximizing windows or displaying menu for panel think that the height of the display is only 1200, not 1600. However, the panel itself is placed correctly to the bottom of the screen, and I can also manually place windows there. However, even if I manually drag the bottom corner of window to cover the whole display with the window, clicking the "maximize" button will shrink the height again.

Version-Release number of selected component (if applicable):

xfce4-panel-4.13.3-20.fc29.x86_64

How reproducible:

Deterministic, at least on this one machine. I don't have another machine to try.

Steps to Reproduce:
1. Have working XFCE environment on Fedora 28 with rotated monitor, 1200x1600 display.
2. Upgrade to Fedora 29 dnf system-upgrade
3. Click the "menu" button in panel.

Actual results:

The menu is displayed way high.

Expected results:

The menu is displayed right above the panel.

Additional info:

I've chosen the xfce4-panel component simply because the problem is most easily demonstrated with panel. But it's rather likely that the ultimate component which is the root of the problem is somewhere else.

Comment 1 Jan Pazdziora 2018-12-05 14:24:34 UTC
I should add that workspace margins are set to 0 (I did not touch them) and the behaviour is as if the window manager thought that the bottom margin is set to 400. Or something similar.

Comment 2 Jan Pazdziora 2018-12-05 14:43:22 UTC
Thinking about it some more, xfwm4 feels like better component.

Comment 3 Jan Pazdziora 2019-05-21 10:43:09 UTC
After today's upgrade from xfwm4-4.13.1-6.fc30.x86_64 to xfwm4-4.13.1-8.fc30.x86_64, the issue seems fixed.

Looking at the diff, it seems like https://src.fedoraproject.org/rpms/xfwm4/c/67b2c274d1765836e6080dc44e91991e3c23b7a8?branch=master introduced the fix for bug 1666735 and it also fixed this issue.


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