Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1046149

Summary: gnome-panel interacts badly when dual-desktop set a vertical overlap
Product: Red Hat Enterprise Linux 7 Reporter: Ben Woodard <woodard>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: david1.zhang, mclasen, woodard
Target Milestone: rc   
Target Release: 7.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 750142 Environment:
Last Closed: 2014-04-24 13:12:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 750142    
Bug Blocks:    

Comment 2 Ben Woodard 2013-12-23 21:03:13 UTC
This problem occurs with RHEL7 HTB as well. In fact it may be even worse:

[ben@localhost ~]$ sudo xrandr -q
Screen 0: minimum 320 x 200, current 1680 x 1950, maximum 8192 x 8192
LVDS1 connected 1440x900+150+1050 (normal left inverted right x axis y axis) 287mm x 180mm
   1440x900       60.0*+   50.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 495mm x 291mm
   1680x1050      60.0*+
   1600x1200      60.0  
   1400x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)

In my case, if in the display settings I put the menu bar on the external monitor then I have trouble moving windows from the top monitor to the bottom monitor. The problem is the bottom panel gets in the way and blocks movement across the interface between the monitors. I have yet to figure out how to move this new panel to either the bottom of the lower display or the side of the top display where it will be out of the way.

If I put the title bar on the internal laptop display which is the lower display then, I have problems moving windows on the top display in the areas above the menubar. There appears to be something blocking placing windows above the menubar. You can however stretch windows into that area.

Comment 3 Ben Woodard 2013-12-23 21:13:54 UTC
The second problem is closely related to RH BZ#923211 However, the first part, the way that the lower panel as part of our theme makes this particularly unworkable.

Comment 4 Ben Woodard 2013-12-23 21:20:51 UTC
Also it appears like RH BZ#711479 is another user complaining of the same problem but with fedora. So this seems to be a common setup and a common problem.

Comment 6 Ben Woodard 2014-01-06 17:12:58 UTC
Yeah the gnome-panel like gnome-shell mode in the default legacy gnome2 UI mode.

Moving out of the legacy session mode makes it much more workable but since the legacy session is the default when you install RHEL7, we should probably deal with this.

Comment 7 Ray Strode [halfline] 2014-01-06 17:36:18 UTC
okay, it's a little difficult to be sure, since the comment is talking about gnome-panel and gnome-panel source code, but I believe the bug you're referring to is this one:

https://bugzilla.gnome.org/show_bug.cgi?id=663690

Assuming, i'm right, the issue is gnome-shell sets up a strut where the panels are to tell mutter to avoid overlapping windows with the panels. Anywhere a strut is in place, mutter won't let windows fully occupy.  The problem is the freedesktop specification for struts is sort of "broken by design" in that struts can only be specified as extending from the outer most edges of the users monitors toward the middle.  If you have strut for a panel that's along an interior monitor edge, then the strut will extend all the way through a whole monitor (say the top monitor) and mutter won't let any windows occupy the top monitor.

Two ways to fix this:

1) make mutter be non-compliant with the spec and carve out the top monitor to fix the brokeness in the spec design
2) stop using freedesktop specified struts for the panels.  gnome-shell and mutter run in the same process, so there's no reason to use an external protocol for communicating where the panels are.  we could just use internal API.  (this is different than the old days when metacity and gnome-panel were separate components).

The first is the least amount of code change, but it has the potential to break things that really do want a strut to extend over the whole top monitor.  (say a magnifier maybe?).

Comment 8 Ben Woodard 2014-01-06 20:58:43 UTC
Yes I believe that is at least a portion of the behavior that I've been seeing.
 
The other part has to do with moving windows when the lower monitor is set as the one with the panel-like-menu bar on the top. Then you cannot move windows into area on the upper monitor above the menubar which is on the top of the lower monitor. 

I've never been an GUI or X developer but it sounds to me like 2 is a better approach to fixing the problem. Then revise and version the spec through whatever standards process there is for that part of the interface.

Comment 9 Matthias Clasen 2014-01-07 15:31:20 UTC
I think we need to work out the fix upstream first, before backporting it to RHEL. Moving to 7.1

Comment 10 Ben Woodard 2014-01-07 17:02:02 UTC
Then I think it is important to provide a warning dialog or something for people who have a screen layout that won't work with the _DEFAULT_ session preference for RHEL7. We have something very visible that really just doesn't work. This is not a good advertisement for RHEL.

So maybe when a person is in the display configuration dialog, if they select a display arrangement that won't work well with the gnome legacy configuration you pop up a dialog with a warning suggesting that they change to the normal gnome-shell session style rather than the legacy style.