Bug 461119 - QT application window maximized by double clicking the title bar becomes unresponsive if QT screen scale factor is 2
Summary: QT application window maximized by double clicking the title bar becomes unre...
Status: RESOLVED DUPLICATE of bug 461032
Alias: None
Product: kwin
Classification: Plasma
Component: platform-x11-standalone (show other bugs)
Version: 5.26.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-28 15:49 UTC by Ruixe
Modified: 2022-10-28 19:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
maximizing dolphin becomes unresponsive. (301.36 KB, image/png)
2022-10-28 15:49 UTC, Ruixe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ruixe 2022-10-28 15:49:47 UTC
Created attachment 153264 [details]
maximizing dolphin becomes unresponsive.

SUMMARY

I am using Arch Linux. After updating plasma to version 5.26.2-1, QT-based applications will be irresponsible if **the screen scale factor is 2** and the windows are **maximized by double click the title bar**.

pacman update log (It seems that qt5-base may also cause the problem...):

```
# sudo grep 10-28 /var/log/pacman.log
[2022-10-28T23:10:42+0800] [PACMAN] Running 'pacman -S -y -u --config /etc/pacman.conf --'
[2022-10-28T23:10:42+0800] [PACMAN] synchronizing package lists
[2022-10-28T23:10:42+0800] [PACMAN] starting full system upgrade
[2022-10-28T23:10:55+0800] [PACMAN] Running 'pacman -S -y -u --config /etc/pacman.conf --'
[2022-10-28T23:10:55+0800] [PACMAN] synchronizing package lists
[2022-10-28T23:10:55+0800] [PACMAN] starting full system upgrade
[2022-10-28T23:11:10+0800] [ALPM] transaction started
[2022-10-28T23:11:10+0800] [ALPM] upgraded icu (71.1-1 -> 72.1-1)
[2022-10-28T23:11:10+0800] [ALPM] upgraded libxml2 (2.10.3-1 -> 2.10.3-2)
[2022-10-28T23:11:11+0800] [ALPM] upgraded expat (2.4.9-1 -> 2.5.0-1)
[2022-10-28T23:11:11+0800] [ALPM] upgraded bind (9.18.7-1 -> 9.18.8-1)
[2022-10-28T23:11:11+0800] [ALPM] upgraded harfbuzz (5.3.1-1 -> 5.3.1-3)
[2022-10-28T23:11:11+0800] [ALPM] upgraded fontconfig (2:2.14.0-1 -> 2:2.14.1-2)
[2022-10-28T23:11:11+0800] [ALPM-SCRIPTLET] Rebuilding fontconfig cache...
[2022-10-28T23:11:21+0800] [ALPM] upgraded libxrender (0.9.10-5 -> 0.9.11-1)
[2022-10-28T23:11:21+0800] [ALPM] upgraded systemd-libs (251.6-2 -> 251.7-1)
[2022-10-28T23:11:21+0800] [ALPM] upgraded curl (7.85.0-2 -> 7.86.0-1)
[2022-10-28T23:11:21+0800] [ALPM] upgraded systemd (251.6-2 -> 251.7-1)
[2022-10-28T23:11:23+0800] [ALPM] upgraded qt5-base (5.15.6+kde+r180-1 -> 5.15.6+kde+r181-1)
[2022-10-28T23:11:23+0800] [ALPM] upgraded libical (3.0.16-1 -> 3.0.16-2)
[2022-10-28T23:11:23+0800] [ALPM] upgraded flac (1.4.1-2 -> 1.4.2-1)
[2022-10-28T23:11:23+0800] [ALPM] upgraded xfsprogs (5.19.0-1 -> 5.19.0-2)
[2022-10-28T23:11:23+0800] [ALPM] upgraded bluedevil (1:5.26.1-1 -> 1:5.26.2-1)
[2022-10-28T23:11:23+0800] [ALPM] upgraded boost-libs (1.80.0-2 -> 1.80.0-3)
[2022-10-28T23:11:23+0800] [ALPM] upgraded kdecoration (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:24+0800] [ALPM] upgraded breeze (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:24+0800] [ALPM] upgraded breeze-gtk (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:24+0800] [ALPM] upgraded gdk-pixbuf2 (2.42.9-1 -> 2.42.10-1)
[2022-10-28T23:11:24+0800] [ALPM] upgraded svt-av1 (1.2.1-1 -> 1.3.0-1)
[2022-10-28T23:11:25+0800] [ALPM] upgraded qt5-webengine (5.15.10-3 -> 5.15.11-1)
[2022-10-28T23:11:25+0800] [ALPM] upgraded discover (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:25+0800] [ALPM] upgraded docker (1:20.10.19-1 -> 1:20.10.20-1)
[2022-10-28T23:11:25+0800] [ALPM] upgraded docker-compose (2.12.0-1 -> 2.12.2-1)
[2022-10-28T23:11:25+0800] [ALPM] upgraded python-psutil (5.9.2-1 -> 5.9.3-1)
[2022-10-28T23:11:25+0800] [ALPM] upgraded python-more-itertools (8.14.0-1 -> 9.0.0-1)
[2022-10-28T23:11:25+0800] [ALPM] upgraded python-typing_extensions (4.3.0-1 -> 4.4.0-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded python-trove-classifiers (2022.9.26-1 -> 2022.10.19-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded python-setuptools (1:63.4.2-1 -> 1:63.4.3-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded drkonqi (5.26.1-2 -> 5.26.2-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded enchant (2.3.3-1 -> 2.3.3-2)
[2022-10-28T23:11:26+0800] [ALPM] upgraded freerdp (2:2.8.1-1 -> 2:2.8.1-2)
[2022-10-28T23:11:26+0800] [ALPM] upgraded gtk-update-icon-cache (1:4.8.1-1 -> 1:4.8.2-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded nodejs (18.11.0-2 -> 19.0.0-2)
[2022-10-28T23:11:26+0800] [ALPM] upgraded python-argon2_cffi (21.3.0-1 -> 21.3.0-2)
[2022-10-28T23:11:26+0800] [ALPM] upgraded python-backcall (0.2.0-6 -> 0.2.0-7)
[2022-10-28T23:11:26+0800] [ALPM] upgraded python-pure-eval (0.2.2-1 -> 0.2.2-2)
[2022-10-28T23:11:26+0800] [ALPM] upgraded python-ipykernel (6.16.1-1 -> 6.16.2-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded python-jupyter_client (7.4.3-1 -> 7.4.4-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded python-terminado (0.16.0-1 -> 0.17.0-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded python-tomlkit (0.11.5-1 -> 0.11.5-2)
[2022-10-28T23:11:26+0800] [ALPM] upgraded python-tinycss2 (1.1.1-1 -> 1.2.1-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded jupyterlab (3.4.8-1 -> 3.5.0-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded kactivitymanagerd (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded kde-cli-tools (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:26+0800] [ALPM] upgraded kde-gtk-config (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:27+0800] [ALPM] upgraded libksysguard (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:27+0800] [ALPM] upgraded ksystemstats (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:27+0800] [ALPM] upgraded libqalculate (4.4.0-1 -> 4.4.0-2)
[2022-10-28T23:11:27+0800] [ALPM] upgraded milou (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:27+0800] [ALPM] upgraded layer-shell-qt (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:27+0800] [ALPM] upgraded kscreenlocker (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:28+0800] [ALPM] upgraded kwin (5.26.1-1 -> 5.26.2.1-1)
[2022-10-28T23:11:28+0800] [ALPM] upgraded plasma-integration (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:28+0800] [ALPM] upgraded libkscreen (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:28+0800] [ALPM] upgraded kpipewire (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:29+0800] [ALPM] upgraded oxygen-sounds (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:29+0800] [ALPM] upgraded smbclient (4.17.1-1 -> 4.17.2-1)
[2022-10-28T23:11:29+0800] [ALPM] upgraded taglib (1.12-2 -> 1.13-1)
[2022-10-28T23:11:32+0800] [ALPM] upgraded plasma-workspace (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:33+0800] [ALPM] upgraded kdeplasma-addons (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:33+0800] [ALPM] upgraded systemsettings (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:33+0800] [ALPM] upgraded kgamma5 (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:34+0800] [ALPM] upgraded khotkeys (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:34+0800] [ALPM] upgraded libmbim (1.26.4-1 -> 1.28.0-1)
[2022-10-28T23:11:34+0800] [ALPM] upgraded libqmi (1.30.8-1 -> 1.32.0-1)
[2022-10-28T23:11:34+0800] [ALPM] upgraded kinfocenter (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:34+0800] [ALPM] upgraded kmenuedit (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:34+0800] [ALPM] upgraded kscreen (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:34+0800] [ALPM] upgraded ksshaskpass (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:34+0800] [ALPM] upgraded kwallet-pam (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:34+0800] [ALPM] upgraded kwayland-integration (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:34+0800] [ALPM] upgraded kwrited (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:34+0800] [ALPM] upgraded lsof (4.96.3-1 -> 4.96.4-1)
[2022-10-28T23:11:35+0800] [ALPM] upgraded lxd (5.6-2 -> 5.7-1)
[2022-10-28T23:11:35+0800] [ALPM] upgraded multipath-tools (0.9.1-1 -> 0.9.3-1)
[2022-10-28T23:11:35+0800] [ALPM] upgraded oh-my-zsh-git (r6670.a7d910c3a6-1 -> r6674.49691b58b3-1)
[2022-10-28T23:11:36+0800] [ALPM] upgraded oxygen (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:36+0800] [ALPM] upgraded perl-alien-build (2.71-1 -> 2.72-1)
[2022-10-28T23:11:36+0800] [ALPM] upgraded plasma-browser-integration (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:36+0800] [ALPM] upgraded polkit-kde-agent (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:36+0800] [ALPM] upgraded plasma-desktop (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:36+0800] [ALPM] upgraded plasma-disks (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:36+0800] [ALPM] upgraded plasma-firewall (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:37+0800] [ALPM] upgraded plasma-nm (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:37+0800] [ALPM] upgraded plasma-pa (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:37+0800] [ALPM] upgraded plasma-sdk (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:37+0800] [ALPM] upgraded plasma-systemmonitor (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:37+0800] [ALPM] upgraded plasma-thunderbolt (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:37+0800] [ALPM] upgraded plasma-vault (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:37+0800] [ALPM] upgraded plasma-workspace-wallpapers (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:37+0800] [ALPM] upgraded powerdevil (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:37+0800] [ALPM] upgraded python-colorama (0.4.5-1 -> 0.4.6-1)
[2022-10-28T23:11:38+0800] [ALPM] upgraded qt5-webkit (5.212.0alpha4-16 -> 5.212.0alpha4-17)
[2022-10-28T23:11:38+0800] [ALPM] upgraded vte-common (0.68.0-2 -> 0.70.1-1)
[2022-10-28T23:11:38+0800] [ALPM] upgraded tracker3 (3.4.0-1 -> 3.4.1-1)
[2022-10-28T23:11:38+0800] [ALPM] upgraded vte3 (0.68.0-2 -> 0.70.1-1)
[2022-10-28T23:11:38+0800] [ALPM] upgraded remmina (1:1.4.27-1 -> 1:1.4.27-2)
[2022-10-28T23:11:38+0800] [ALPM] upgraded sudo (1.9.11.p3-1 -> 1.9.12-1)
[2022-10-28T23:11:38+0800] [ALPM] upgraded systemd-sysvcompat (251.6-2 -> 251.7-1)
[2022-10-28T23:11:38+0800] [ALPM] upgraded vim-runtime (9.0.0354-1 -> 9.0.0814-1)
[2022-10-28T23:11:38+0800] [ALPM] upgraded vim (9.0.0354-1 -> 9.0.0814-1)
[2022-10-28T23:11:38+0800] [ALPM] upgraded xdg-desktop-portal-kde (5.26.1-1 -> 5.26.2-1)
[2022-10-28T23:11:42+0800] [ALPM] transaction completed
[2022-10-28T23:11:43+0800] [ALPM] running '20-systemd-sysusers.hook'...
[2022-10-28T23:11:43+0800] [ALPM] running '30-systemd-catalog.hook'...
[2022-10-28T23:11:43+0800] [ALPM] running '30-systemd-daemon-reload.hook'...
[2022-10-28T23:11:43+0800] [ALPM] running '30-systemd-hwdb.hook'...
[2022-10-28T23:11:44+0800] [ALPM] running '30-systemd-sysctl.hook'...
[2022-10-28T23:11:44+0800] [ALPM] running '30-systemd-tmpfiles.hook'...
[2022-10-28T23:11:44+0800] [ALPM-SCRIPTLET] fchmod() of /dev/snd/seq failed: Operation not permitted
[2022-10-28T23:11:44+0800] [ALPM-SCRIPTLET] fchmod() of /dev/snd/timer failed: Operation not permitted
[2022-10-28T23:11:44+0800] [ALPM] running '30-systemd-udev-reload.hook'...
[2022-10-28T23:11:44+0800] [ALPM] running '30-systemd-update.hook'...
[2022-10-28T23:11:44+0800] [ALPM] running '30-update-mime-database.hook'...
[2022-10-28T23:11:44+0800] [ALPM] running '40-fontconfig-config.hook'...
[2022-10-28T23:11:44+0800] [ALPM] running 'dbus-reload.hook'...
[2022-10-28T23:11:45+0800] [ALPM] running 'detect-old-perl-modules.hook'...
[2022-10-28T23:11:45+0800] [ALPM] running 'fontconfig.hook'...
[2022-10-28T23:11:45+0800] [ALPM] running 'gtk-update-icon-cache.hook'...
[2022-10-28T23:11:45+0800] [ALPM] running 'update-desktop-database.hook'...
```

I run the arch container in LXD, and I made a snapshot before upgrading. After restoring the snapshot, the issue disappeared.

If the screen scale factor is 1 or 1.5, The issue won't appear neither. Scale factor bigger than 2 is not tested.



STEPS TO REPRODUCE
1. upgrade plasma version to 5.26.2 (maybe qt5-base (5.15.6+kde+r180-1 -> 5.15.6+kde+r181-1)),
2. open dolphin/konsole, 
3. double click the title bar,
4. you see grey boxes in the right and bottom of the window, and the window becomes unresponsive. 

OBSERVED RESULT
grey boxes in the right and bottom of the window, and the window becomes unresponsive. 

EXPECTED RESULT
maximizing window should be ok.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.26.2
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.99.0
Qt Version: Version 5.15.6 (built against 5.15.6)

ADDITIONAL INFORMATION
Comment 1 Zamundaaa 2022-10-28 19:46:22 UTC
Should have the same cause as bug 461032

*** This bug has been marked as a duplicate of bug 461032 ***