Bug 429770

Summary: The password dialog text field highlight on start is overlapped by the loading window
Product: [Applications] partitionmanager Reporter: Claudius Ellsel <claudius.ellsel>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, ericgreenwood512, katyaberezyaka, leftcrane, minas1618033, nate, postix, pqwoerituytrueiwoq, reportbug, saileshpoudel0
Priority: HI Keywords: usability, wayland
Version: Git   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=424795
Latest Commit: Version Fixed In: 22.08.0
Sentry Crash Report:
Bug Depends on: 424795    
Bug Blocks:    
Attachments: Screenshot of the problem
screenshot_X11

Description Claudius Ellsel 2020-11-28 18:05:15 UTC
Created attachment 133706 [details]
Screenshot of the problem

SUMMARY
When starting the partition manager, the text field for granting root access is immediately overlapped by the loading window so one has to get the root access grant window back manually.
Comment 1 Andrius Štikonas 2020-11-28 18:44:21 UTC
It will take some time to fix this and most of the work outside partition manager. I'm waiting until Plasma wayland supports some window raising protocol.
Comment 2 Claudius Ellsel 2020-11-28 19:27:01 UTC
Thanks! I just noticed that this is only happening on Wayland. Is it sensible to track this in a different more central component also?
Comment 3 Andrius Štikonas 2020-11-28 19:37:51 UTC
(In reply to Claudius Ellsel from comment #2)
> Thanks! I just noticed that this is only happening on Wayland. Is it
> sensible to track this in a different more central component also?

It's already tracked as the first bullet point here:
https://community.kde.org/Plasma/Wayland_Showstoppers
Comment 4 Andrius Štikonas 2020-11-28 19:41:39 UTC
Looks like there are already some patches in https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/50

So this might be not too far away now. Although, I guess Qt changes will only land in Qt 6
Comment 5 Claudius Ellsel 2020-11-28 19:53:00 UTC
Ah, alright.

BTW: Having the KDE partition manager window overlay the password entry dialog box also happens to me on X11 when having another app (gparted) open before launching KDE partition manager. Is this another, different problem?
Comment 6 Andrius Štikonas 2020-11-28 19:59:58 UTC
(In reply to Claudius Ellsel from comment #5)
> Ah, alright.
> 
> BTW: Having the KDE partition manager window overlay the password entry
> dialog box also happens to me on X11 when having another app (gparted) open
> before launching KDE partition manager. Is this another, different problem?

Hmm, not sure... I haven't used X11 for quite some time now (since Plasma 5.12).
Comment 7 Claudius Ellsel 2020-11-28 20:26:51 UTC
Ok. Might definitely be a thing to also bear in mind when tackling the problem on Wayland.
Comment 8 Andrius Štikonas 2020-12-06 14:52:39 UTC
*** Bug 430078 has been marked as a duplicate of this bug. ***
Comment 9 Andrius Štikonas 2020-12-07 10:46:05 UTC
*** Bug 430102 has been marked as a duplicate of this bug. ***
Comment 10 Andrius Štikonas 2020-12-08 10:38:12 UTC
*** Bug 430136 has been marked as a duplicate of this bug. ***
Comment 11 Andrius Štikonas 2021-01-16 12:01:07 UTC
*** Bug 431684 has been marked as a duplicate of this bug. ***
Comment 12 Andrius Štikonas 2021-01-18 15:15:03 UTC
*** Bug 431784 has been marked as a duplicate of this bug. ***
Comment 13 Andrius Štikonas 2022-01-08 16:06:30 UTC
Reopening as it should be possible to fix it now.
Comment 14 Andrius Štikonas 2022-01-15 23:28:44 UTC
Strangely, I can't reproduce it anymore.
Comment 15 Andrius Štikonas 2022-01-16 14:13:56 UTC
(In reply to Andrius Štikonas from comment #14)
> Strangely, I can't reproduce it anymore.

Ignore that, still happens.
Comment 16 Patrick Silva 2022-01-18 14:51:14 UTC
*** Bug 448677 has been marked as a duplicate of this bug. ***
Comment 17 pqwoerituytrueiwoq 2022-02-06 18:16:08 UTC
Created attachment 146349 [details]
screenshot_X11

I have this happen with X11, not 100% of the time though, you may need more multiple disk drives to make it happen more often, i have 2 HDDs and 2 SSDs (1 nvme / 3 sata) installed
Comment 18 Andrius Štikonas 2022-05-03 17:25:20 UTC
This can be fixed by using xdg activation tokens, see
https://api.kde.org/frameworks/kwindowsystem/html/classKWindowSystem.html#a2df84f3f18012babbd15f0cd4bb150b9
Comment 19 Andrius Štikonas 2022-05-13 15:12:01 UTC
*** Bug 453743 has been marked as a duplicate of this bug. ***
Comment 20 Nate Graham 2023-05-07 20:14:58 UTC
Same issue as Bug 312325, which was just fixed for Plasma 5.27.5

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