Bug 1398494

Summary: Panels don't resize properly when changing monitors
Product: [Fedora] Fedora Reporter: David Gibson <dgibson>
Component: mate-panelAssignee: Wolfgang Ulbrich <fedora>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 25CC: fedora, mark, mvanross, stefano
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-25 03:19:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Gibson 2016-11-25 02:44:09 UTC
Description of problem:

When I switch from a high resolution external monitor to a lower resolution laptop screen, applets on the right end of MATE's panels disappear off the screen.


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

mate-panel-1.16.0-2.fc25.x86_64
xmonad-core-0.12-2.fc25.x86_64
xmonad-mate-0.12-2.fc25.x86_64

How reproducible:

100% so far.

Steps to Reproduce:
1. Set up MATE + xmonad desktop (not sure if it will also happen with plain MATE)
2. Run on laptop with different size / resolution internal and external monitors
3. With the larger screen active, place some applets on the right hand end of a MATE panel
4. Switch to the smaller monitor

Actual results:

Applets disappear off the right hand end of the panel.

Expected results:

Applets are re-layed-out to all be visible on the resized panel.

Comment 1 David Gibson 2016-11-29 00:58:27 UTC
Going to panel options, temporarily disabling "Expand" then re-enabling forces a resize to the laptop screen size.  However, switching to the external monitor and back again messes it up again.

Comment 2 Mark van Rossum 2016-12-05 16:30:05 UTC
I also see this with plain MATE (both w/wo compositing).

It is a regression. It did not occur with FC24, but it does with FC25.

Comment 3 Mark Mielke 2016-12-27 07:59:52 UTC
I use VNC and this has started happening in Fedora 25. I user TigerVNC and whenever I change systems, or whenever I toggle "Maximize" on the viewing console, I risk experiencing this problem. I set up new accounts with default MATE configurations and the same thing happens.

I noticed one particularly odd result - In the default MATE panel layout, I have seen it such that the panel on the top resizes correctly, but the panel on the bottom does not.

In my case, I prefer to maximize screen real estate for applications, so I only have a panel on the bottom. I have found that if I play with "Lock to Panel" and shift icons around, I have sometimes seemed to reproducibly solve the problem, but then a while later it seems to come back. This makes me wonder if the "Window List 1.16.0" applet on the bottom is a cause here, as this is the only thing that would be stable for a period but then change on its own. Might the "Window List" be sometimes consuming all the space, and then not reducing its usage in response to resize events?

Comment 4 Mark Mielke 2016-12-27 08:02:56 UTC
Right after pushing "Save Changes", I realized I could test the last theory by simply removing "Window List" and seeing if the problem remained. Unfortunately, it did. Removing "Window List" didn't fix the problem. As one of the other people commented, if I toggle "Expand" on the Panel properties, it fixes.

Comment 5 Fedora End Of Life 2017-11-16 18:51:47 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 6 David Gibson 2017-11-25 03:19:06 UTC
Seems to be fixed in current versions.