New windows have confused sizing when monitors are set to different scaling factors

Bug #2026255 reported by Alfredo Matas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have 3 monitors, two QHD monitors and the screen of the laptop attached. I'm using Gnome-shell with the extensions disabled. If a window starts maximized it only takes a portion of the screen, if a window starts unmaximized it automatically doubles the size when it loses the focus. I have attached a small video of the behavior of the middle QHD monitor.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: gnome-shell 44.2-0ubuntu1
ProcVersionSignature: Ubuntu 6.2.0-24.24-generic 6.2.12
Uname: Linux 6.2.0-24-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Jul 6 09:35:26 2023
DisplayManager: gdm3
InstallationDate: Installed on 2021-06-21 (744 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
RelatedPackageVersions: mutter-common 44.2-0ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to lunar on 2023-05-12 (55 days ago)

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

Thanks for the bug report. Please start by uninstalling all of these extensions:

'tiling-assistant@leleat-on-github', '<email address hidden>', '<email address hidden>', '<email address hidden>', 'freon@UshakovVasilii_Github.yahoo.com'

and then log in again. Does the bug still occur?

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Alfredo Matas (amatas) wrote :

I uninstalled them, logged in again, but I still have the same issue. Thanks for your support!

~ ❯❯❯ gnome-extensions list
<email address hidden>
<email address hidden>
<email address hidden>
<email address hidden>
<email address hidden>
<email address hidden>
<email address hidden>
<email address hidden>
<email address hidden>
<email address hidden>
<email address hidden>
<email address hidden>
<email address hidden>
<email address hidden>

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

What does this command return?

  gnome-extensions list --enabled

Revision history for this message
Alfredo Matas (amatas) wrote :

> What does this command return?
>
> gnome-extensions list --enabled

This command returns empty results. I have disabled all the extensions, even those that come with Ubuntu.

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

Does the problem go away if you set both monitors to the same scale?

Revision history for this message
Alfredo Matas (amatas) wrote :

> Does the problem go away if you set both monitors to the same scale?

Indeed, if I set the 3 screens at the same scale (ie 200%) the problem goes away.

affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
Changed in mutter (Ubuntu):
status: Incomplete → New
summary: - New windows have weird behavior on the desktop
+ New windows have confused sizing when monitors are set to different
+ scaling factors
tags: added: multimonitor
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. The issue sounds like it's in mutter's constraints logic so please report it at:
https://gitlab.gnome.org/GNOME/mutter/-/issues

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.