Bug 434120 - Wrong background image window's position
Summary: Wrong background image window's position
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (show other bugs)
Version: 5.21.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
: 434391 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-07 20:38 UTC by medin
Modified: 2021-06-29 12:06 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Wrong background image window's position (256.91 KB, image/png)
2021-03-07 20:38 UTC, medin
Details
internal window problem (2.06 MB, video/mp4)
2021-03-08 23:39 UTC, medin
Details
maya SDDM - wrong position (1.54 MB, video/mp4)
2021-06-20 09:41 UTC, medin
Details
details popup (222.10 KB, image/png)
2021-06-29 12:06 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2021-03-07 20:38:04 UTC
Created attachment 136469 [details]
Wrong background image window's position

The first time I click on "Change Background" button in SDDM login settings, the top of the image window appears hidden. If I click outside the image window then click again on "Change Background" button it appears correctly at center. See attached image for more info.

NB : the laptop screen size is 15.6".

Operating System: Manjaro Linux
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.4.100-1-MANJARO
OS Type: 64-bit
Comment 1 David Redondo 2021-03-08 07:52:08 UTC
I do no manually positioning of the sheet, maybe something in Kirigami?
Comment 2 Nate Graham 2021-03-08 16:26:04 UTC
Urgh, I thought we had fixed this. :(

I cannot reproduce right now, but I was able to during review of the merge request.
Comment 3 medin 2021-03-08 23:39:18 UTC
(In reply to Nate Graham from comment #2)
> Urgh, I thought we had fixed this. :(
> 
> I cannot reproduce right now, but I was able to during review of the merge
> request.

That kind of internal window creates problems for screens with small size, even the icon user selection window has viewing problems it feels slow and sometimes it shows the last line of icons completely and sometimes not, it's like you should scroll up/down many times to be able to see all content and the window move slightly to top. I don't know why this kind of decision to use small internal window for previewing or selecting images, why not to use big independent window. See attached video for more info.
Comment 4 medin 2021-03-08 23:39:58 UTC
Created attachment 136505 [details]
internal window problem
Comment 5 David Redondo 2021-03-15 07:44:11 UTC
*** Bug 434391 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2021-06-16 16:06:45 UTC
I still can't reproduce this. Are you still able to, Medin?
Comment 7 medin 2021-06-16 21:24:07 UTC
(In reply to Nate Graham from comment #6)
> I still can't reproduce this. Are you still able to, Medin?

It's still persistent with 5.21.5, can you select maya theme (or any SDDM theme without background image) and check its background then check Breeze theme background.
Comment 8 Justin Zobel 2021-06-20 06:52:57 UTC
I can't reproduce the SDDM one on git master but I can reproduce the Users one.
Comment 9 medin 2021-06-20 09:40:15 UTC
(In reply to Justin Zobel from comment #8)
> I can't reproduce the SDDM one on git master but I can reproduce the Users
> one.

If you have maya SDDM theme could try this scenario.
Comment 10 medin 2021-06-20 09:41:07 UTC
Created attachment 139536 [details]
maya SDDM - wrong position
Comment 11 Patrick Silva 2021-06-29 12:06:58 UTC
Created attachment 139740 [details]
details popup

As we can see in the screenshot attached to this comment, sometimes details popup is incorrectly positioned too.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.3
Graphics Platform: Wayland