Vertical dual monitor setup with main monitor on bottom causes overview to only use one eighth of screen

Bug #1869571 reported by Jarno Kaikkonen
112
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Dash to dock
Fix Released
Unknown
OEM Priority Project
Fix Released
High
Unassigned
gnome-shell (Ubuntu)
Invalid
High
Unassigned
gnome-shell-extension-ubuntu-dock (Ubuntu)
Fix Released
High
Daniel van Vugt

Bug Description

Very recently I have started experiencing a constant bug of the app overview / search functions of gnome shell being entirely unusable because shell operates at such a tiny scale that barely anything is shown on screen.

I managed to narrow the problem down to having something to do with dual monitors, and then played around a bit with the settings. My results are that no matter what other configuration I set my two monitors in, gnome-shell operates perfectly. That is, if my secondary monitor is on the left, right or below my primary one, all is well.

If, however, the secondary monitor is set to be on top of the primary one (As it physically is in my current setup), then the overview and app search functionality starts using some very weird kind of vertical scaling and becomes unusable. The window previews are so small that the (most of the time invisible) X button is bigger than the window itself, thus only making me able to close the windows instead of switching to them or moving them. Application search only shows half of the first row, the other half fading away.

I am running Ubuntu 20.04 Focal Fossa (development branch) and version 3.36.0-2ubuntu1 of gnome-shell.

Here are screenshots of my problem:
The overview screen barely showing my open windows
https://i.ibb.co/bJZFdR8/Kuvakaappaus-2020-03-29-14-14-22.png
The search function only showing the top half of first row of icons
https://i.ibb.co/g4qV3wP/Kuvakaappaus-2020-03-29-14-14-40.png
When you mouse-over the windows many times over and over you might get the X button to show
https://i.ibb.co/QjRKZr1/Kuvakaappaus-2020-03-29-14-18-07.png
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu21
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-02-25 (33 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200220)
Package: gnome-shell 3.36.0-2ubuntu1
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.4.0-18.22-generic 5.4.24
RelatedPackageVersions: mutter-common 3.36.0-2ubuntu1
Tags: third-party-packages focal
Uname: Linux 5.4.0-18-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin lxd plugdev sambashare sudo tty uucp
_MarkForUpload: True

Revision history for this message
Jarno Kaikkonen (jarnokai) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1869571

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Jarno Kaikkonen (jarnokai) wrote : Dependencies.txt

apport information

tags: added: apport-collected focal third-party-packages
description: updated
Revision history for this message
Jarno Kaikkonen (jarnokai) wrote : GsettingsChanges.txt

apport information

Revision history for this message
Jarno Kaikkonen (jarnokai) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Jarno Kaikkonen (jarnokai) wrote : ShellJournal.txt

apport information

Revision history for this message
Jarno Kaikkonen (jarnokai) wrote : monitors.xml.txt

apport information

Revision history for this message
Chris Guiver (guiverc) wrote : Re: Vertical dual monitor setup with main monitor on bottom causes overview to only use one eigth of screen

Ubuntu 20.04 QA-test; using daily on
hp 8200 elite sff (i5-2400, 8gb, nvidia quadro 600)

I saw https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1869571 last night on #ubuntu-bugs-announce, and I think this box maybe has similar screen setup, so I thought I'd do some general play, then look for bug.

adjust displays to match my setup (one monitor above other; what settings describes as monitor.2 is my lower, also mark the lower (was right) as my primary display)

on opening menu however - icons come out but quickly disappear (or could be described as come out from bottom right, shrink (below date on top panel) then disappear ??? it's very quick but menu is un-operational as per https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1869571

Of note - the Frequent-All heading keeps jumping as if being re-drawn constantly. However this wasn't always visible, but if left at the menu position (where no options are shown) the shaking becomes rather obvious but only images "Frequent All", happening whichever is underlined (orange) and keeps shaking when I move mouse.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Guiver (guiverc) wrote :

More detail from #8 test, I had closed the 'displays' setup, and of course could no longer select anything from applications when clicked (no icons in selection), but search bar does work; so I used the search function.

Results in a tiny scroll area which isn't high enough to fully display "Displays Choose how to use connected.." but is close.. I can scroll down/up in the tiny window.

Also by entering a single letter (search function) I can have some icons appear for selection, selections work but icons are larger than window so it requires a fair amount of scrolling. My findings are exactly as per OP (except I have default Ubuntu 20.04 background), and a few apps (firefox, nautilus, ..) opened in my upper display from earlier QA-testing..

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1869571

tags: added: iso-testing
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please report the problem to the upstream developers at:

  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues

and then tell us the new bug ID.

Revision history for this message
Jarno Kaikkonen (jarnokai) wrote :

I have reported this problem on the gnome-shell gitlab, new bug ID is 2528.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2528

Revision history for this message
Chris Guiver (guiverc) wrote :

I also filed as https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2529

Sorry Jarno, your filing wasn't present when I looked, though i got called away.. so it was awhile between start & finish of filing.

Revision history for this message
Jarno Kaikkonen (jarnokai) wrote :

I didn't notice to mention this earlier as I had no windows open on the top monitor at the time of writing, but it is fair to mention that the top monitor's app overview works flawlessly, only the bottom monitor is broken. Attached picture for clarification.

Changed in gnome-shell (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
dasojdaosidasoi (asdadfjuoasd-deactivatedaccount) wrote :
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Same happening for me, with two rows of screens, three on top two in the bottom row.
Primary is top left.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Overview of the affected layout

tags: added: rls-ff-incoming
tags: added: multimonitor
Changed in gnome-shell (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
tags: removed: rls-ff-incoming
summary: Vertical dual monitor setup with main monitor on bottom causes overview
- to only use one eigth of screen
+ to only use one eighth of screen
Alex Tu (alextu)
Changed in oem-priority:
importance: Undecided → High
Changed in gnome-shell (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: New → Confirmed
Revision history for this message
Dark Dragon (darkdragon-001) wrote :

Tracked upstream with further information: https://github.com/micheleg/dash-to-dock/issues/1136 but should be resolved before release since Ubuntu Dock uses setting "Panel mode: extend to the screen edge".

Revision history for this message
imanrp (imanrp) wrote :

Hi, this issue happens to me to. But I figured it out that this only happens in vertical multi-monitor setup with the dock on the left or on the right. If I move the dock to the bottom, the issue disappears. So that could be a temporary workaround for you until this bug is solved.

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
status: Confirmed → In Progress
importance: Undecided → High
Changed in dash-to-dock:
status: Unknown → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

WORKAROUNDS:

* Run 'Extensions' (from package gnome-shell-extension-prefs) and disable 'Ubuntu Dock'. You will get the regular GNOME dock instead; or

* Settings > Appearance > Dock > Position on screen = Bottom; or

* Arrange your monitors differently :)

Changed in gnome-shell (Ubuntu):
status: In Progress → Invalid
assignee: Daniel van Vugt (vanvugt) → nobody
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: In Progress → Fix Committed
tags: added: fixed-in-dash-to-dock-68 fixed-upstream
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

I just ninja'ed the docking.js file as per the change in comment #23 and that fixes both the issue in this bug, and the issue where the icons are all small (as shown here https://www.youtube.com/watch?v=2mZZtClVOSg)

Screenshots attached.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell-extension-ubuntu-dock - 67ubuntu20.04.5

---------------
gnome-shell-extension-ubuntu-dock (67ubuntu20.04.5) focal; urgency=medium

  [ Michele Gaio ]
  * Fix regression (wrong parent method call).
  * Fix regression (wrong sign when computing position). (LP: #1869571)

 -- Marco Trevisan (Treviño) <email address hidden> Mon, 20 Apr 2020 15:36:21 +0200

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Fix Committed → Fix Released
Changed in oem-priority:
status: New → Fix Released
no longer affects: gnome-shell
Revision history for this message
Alan AZZERA (azzera-alan) wrote :

Hi, I decided to add information here rather than creating a new bug report. I'm in dual screen too, main screen at left (32"), secondary screen (19") at right and in portrait mode (rotated right). The window are improperly growed : they extend from full main screen to half the "witdh" of the secondary screen. Additionnally, the « pop-up » menus (eg. from settings) do not appear at the right place (see screen capture attached). This is very annoying !

Revision history for this message
Alan AZZERA (azzera-alan) wrote :

Argh. Just forgotten : the problem of window extending out from its natural place disappear if I revert the orientation of secondary screen from « portrait turned right » to « landscape ».

Revision history for this message
Alan AZZERA (azzera-alan) wrote :

Re-argh : my Ubuntu 20.04 is fully up to date.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This bug is closed.

Please report all new problems as new bugs by running:

 ubuntu-bug gnome-shell

Revision history for this message
Alan AZZERA (azzera-alan) wrote :

I do have gnome-shell-extension-ubuntu-dock in version 67ubuntu20.04.5, but still got "my" problem. Should I fill a separate bug report ? And sorry for the pollution-by-comments :-(

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yes, please report a new bug by running:

  ubuntu-bug gnome-shell

Revision history for this message
Alan AZZERA (azzera-alan) wrote :
Changed in dash-to-dock:
status: New → Fix Released
To post a comment you must log in.