https://bugs.kde.org/show_bug.cgi?id=452118

--- Comment #35 from Michael Butash <mich...@butash.net> ---
(In reply to Maciej Kotliński from comment #34)
> The problem still appears from time to time on my laptop but it is less
> frequent. Last time I noticed other version of probably the same issue –
> some windows are scaled to 1px width and ~50px height. It is difficult to
> find such window. It is possible to resize it. Now all LibreOffice windows
> are of such size when I start a new document.
> 
> X11; Debian GNU/Linux 12; KDE Plasma: 5.27.5; KDE Frameworks: 5.103.0; Qt:
> 5.15.8; Kernel: 6.1.0-13-amd64 (64-bit); NVIDIA GeForce RTX 3060 Laptop

Yours is almost exactly my problem too.  Nate's prior advice helped me with
windows moving around for a while at least by clearing out the mountain of
different display geometry "profiles" that accumulate as kde gyrates during
display changes, which in my case is exacerbated by my thunderbolt dock
weirdness.  My windows were moving about and moving to the 1px width same as
you mentioned with every geometry hotplug change, also moving off my 50"
display to a 15" laptop 4k display, which became infuriating to find and resize
_each_ window when it happened.

Clearing the geometry profiles in kde as mentioned helped, where I found 40+
profiles had accumulated.  My hypothesis is KDE reels every time there is a
change, and creates a profile for _every_ iteration it sees.  The problem with
my TB dock is it'll periodically glitch, reset my displays, and everything
starts bouncing around for a minute or so until it settles.  It's an oddity
only someone with a TB dock would see, plus like you with the nvidia gpu it
makes things even more interesting.  I think ultimately it is driving KDE
insane in doing so, or at least with so many profiles to choose from, it ends
up saving geometry to each, better or worse, and it becomes a role of a dice
which it lands on.

I've been using Wayland now for some time, and it's even worse than xorg in
using the TB docks as every hotplug, the displays all land on different port
ID's each time, and with 4x displays (3x on the tb dock) doing that, it becomes
a problem for KDE to manage.  Literally every glitch changes my displays from
(dp-4, dp-5.1, dp-1, dp-5) to (dp-4, dp-5, dp-3, dp-1) and then variably from
there.  With xorg it would do it occasionally too, but far less prone, and far
more deterministic.  Wayland is far more variable meaning I have 5 different
latte-dock profiles for each display tuple that occurs I have to manually
switch between every time my displays rearrange themselves by port-id.  

This probably needs fixed at the thunderbolt/gpu driver levels that the
displayport ports so randomly jumble like that.  Certainly anyone else using a
usb/thunderbolt adapter devices like that would have similar issues with
multiple displays.  I've tried with multiple TB docs, they both do the same
things.

Nate also said this should improve with newer handling to not create the static
profiles anymore, so hopefully that helps.

These corner cases are all hard to describe, and I'm sure harder for folks to
emulate with fairly exotic hardware, but hopefully these reports help the devs
understand the nature of the problems to consider when writing these features
if they don't have a like hardware configuration to experiment with themselves.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to