Maximized non-kde apps not correctly maximized on screen unlock

Brave, Windsurf, PyCharm, FreeCAD are non-kde apps that I quite often have maximized on a 4K monitor. After unlocking the screen saver, the maximized app is drawn smaller than full screen, incompletely for Brave, but it’s maximized window gadget indicates it is maximized. Clicking the maximize gadget redraws the window as a normal, non-maximized window. Clicking the maximize gadget again correctly draws the app maximized.
I didn’t see any error messages in /var/log, but not sure what I should be looking for.
Any hints on how to debug/fix this admittedly minor annoyance would be appreciated.
TIA,
Roy

Hi! To help folks best guide you, could you please provide your basic system information from the Info Center app? The Copy Details button is the easiest way to get that ready to paste in:

It might be helpful to check for messages logged by kwin or the application in question in the system journal, using journalctl, around when you see the issue occur?

And just to check, do you have your display set to a scaling level other than 100%?

Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-24-generic (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X 16-Core Processor
Memory: 61.9 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: ASUS

Display scaling is set at 150%
Monitor is Samsung U32j59x (32" 4K)

I let the screen kick in then a few minutes later unlocked it.

sudo journalctl --since "2025-04-27 13:50:00" --until "2025-04-27 13:56:00"
Apr 27 13:50:17 royw-kubuntu2410 systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
Apr 27 13:50:17 royw-kubuntu2410 systemd[1]: sysstat-collect.service: Deactivated successfully.
Apr 27 13:50:17 royw-kubuntu2410 systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
Apr 27 13:51:32 royw-kubuntu2410 wpa_supplicant[1292]: wlp10s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-63 noise=9999 txrate=432300
Apr 27 13:51:53 royw-kubuntu2410 kwin_wayland_wrapper[4268]: I2025-04-27 13:51:53.857687 instance.cpp:1222] Running autosave...
Apr 27 13:51:53 royw-kubuntu2410 kwin_wayland_wrapper[4268]: I2025-04-27 13:51:53.876160 instance.cpp:1224] End autosave
Apr 27 13:55:01 royw-kubuntu2410 CRON[11471]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)
Apr 27 13:55:01 royw-kubuntu2410 CRON[11472]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Apr 27 13:55:01 royw-kubuntu2410 CRON[11471]: pam_unix(cron:session): session closed for user root
Apr 27 13:55:09 royw-kubuntu2410 NetworkManager[1290]: <info>  [1745780109.5927] dhcp4 (wlp10s0): state changed new lease, address=192.168.1.242
Apr 27 13:55:09 royw-kubuntu2410 dbus-daemon[1227]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.10' (uid=0 pid=1290 comm="/usr/sbin/NetworkManager --no-daemon" label="unconfined")
Apr 27 13:55:09 royw-kubuntu2410 systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
Apr 27 13:55:09 royw-kubuntu2410 dbus-daemon[1227]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Apr 27 13:55:09 royw-kubuntu2410 systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
Apr 27 13:55:19 royw-kubuntu2410 systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Apr 27 13:55:38 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:38 royw-kubuntu2410 plasmashell[4422]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:39 royw-kubuntu2410 kded6[4623]: xsettingsd: Reloading configuration
Apr 27 13:55:39 royw-kubuntu2410 kded6[4623]: xsettingsd: Loaded 14 settings from /home/royw/.config/xsettingsd/xsettingsd.conf
Apr 27 13:55:39 royw-kubuntu2410 wireplumber[3942]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                                    stack traceback:
                                                            [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Apr 27 13:55:39 royw-kubuntu2410 wireplumber[3942]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                                    stack traceback:
                                                            [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Apr 27 13:55:39 royw-kubuntu2410 wireplumber[3942]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                                    stack traceback:
                                                            [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Apr 27 13:55:39 royw-kubuntu2410 wireplumber[3942]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                                    stack traceback:
                                                            [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Apr 27 13:55:39 royw-kubuntu2410 kded6[4355]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 polkit-kde-authentication-agent-1[4499]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 kactivitymanagerd[4490]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 kinfocenter[8334]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 kup-daemon[4894]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 DiscoverNotifier[4871]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 kdeconnectd[4806]: 2025-04-27T13:55:39 qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 baloorunner[8317]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 xdg-desktop-portal-kde[4501]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 konsole[5246]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 kwin_wayland_wrapper[11140]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 org_kde_powerdevil[4500]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 plasmashell[4422]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 plasmashell[4422]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Apr 27 13:55:39 royw-kubuntu2410 systemsettings[8506]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:39 royw-kubuntu2410 plasmashell[4422]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Apr 27 13:55:39 royw-kubuntu2410 plasmashell[4422]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Apr 27 13:55:39 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:39 royw-kubuntu2410 kwin_wayland_wrapper[11515]: Initializing  "/usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Apr 27 13:55:39 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:39 royw-kubuntu2410 kwin_wayland_wrapper[11515]: Initializing  "/usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so"
Apr 27 13:55:39 royw-kubuntu2410 org_kde_powerdevil[4500]: org.kde.powerdevil: [DDCutilDisplay]: ddca_set_non_table_vcp_value -3007
Apr 27 13:55:39 royw-kubuntu2410 plasmashell[4422]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:39 royw-kubuntu2410 plasmashell[4422]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:40 royw-kubuntu2410 kded6[4623]: xsettingsd: Reloading configuration
Apr 27 13:55:40 royw-kubuntu2410 kded6[4623]: xsettingsd: Loaded 14 settings from /home/royw/.config/xsettingsd/xsettingsd.conf
Apr 27 13:55:40 royw-kubuntu2410 wireplumber[3942]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                                    stack traceback:
                                                            [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Apr 27 13:55:40 royw-kubuntu2410 wireplumber[3942]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                                    stack traceback:
                                                            [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Apr 27 13:55:40 royw-kubuntu2410 wireplumber[3942]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                                    stack traceback:
                                                            [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Apr 27 13:55:40 royw-kubuntu2410 wireplumber[3942]: wplua: [string "alsa.lua"]:182: attempt to concatenate a nil value (local 'node_name')
                                                    stack traceback:
                                                            [string "alsa.lua"]:182: in function <[string "alsa.lua"]:175>
Apr 27 13:55:40 royw-kubuntu2410 kded6[4355]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 kactivitymanagerd[4490]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 kdeconnectd[4806]: 2025-04-27T13:55:40 qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 DiscoverNotifier[4871]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 kinfocenter[8334]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 polkit-kde-authentication-agent-1[4499]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 kup-daemon[4894]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 konsole[5246]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 baloorunner[8317]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 xdg-desktop-portal-kde[4501]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 kwin_wayland_wrapper[11140]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 org_kde_powerdevil[4500]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 systemsettings[8506]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 plasmashell[4422]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Apr 27 13:55:40 royw-kubuntu2410 plasmashell[4422]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Apr 27 13:55:40 royw-kubuntu2410 plasmashell[4422]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Apr 27 13:55:40 royw-kubuntu2410 plasmashell[4422]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Apr 27 13:55:40 royw-kubuntu2410 plasmashell[4422]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Apr 27 13:55:40 royw-kubuntu2410 plasmashell[4422]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Apr 27 13:55:40 royw-kubuntu2410 kwin_wayland_wrapper[11687]: Initializing  "/usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Apr 27 13:55:40 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:40 royw-kubuntu2410 kwin_wayland_wrapper[11687]: Initializing  "/usr/lib/x86_64-linux-gnu/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so"
Apr 27 13:55:40 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:40 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:40 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:40 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:40 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:40 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:40 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:40 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:40 royw-kubuntu2410 kded6[4355]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:41 royw-kubuntu2410 plasmashell[4422]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:41 royw-kubuntu2410 plasmashell[4422]: org.kde.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink.monitor"
Apr 27 13:55:51 royw-kubuntu2410 wpa_supplicant[1292]: wlp10s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-64 noise=9999 txrate=432300

Thanks! I’ll have to defer to folks who know more about display issues for solid advice on this one - just two quick additional questions:

  • Does this issue occur with Brave if you enable the system title bar and borders?

  • Does this issue occur with the Plasma 6.3 version included in Kubuntu 25.04?

As to PyCharm, run it in the Wayland mode and see if it fixes the problem.

1 Like

Upgrading to Kubuntu 25.04 solved the issue!
Thank you!

1 Like