Bug 426142

Summary: SwipeListItem layout wrong BUT only inside systemsettings
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Harald Sitter <sitter>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: ad.liu.jin, arnaud.vergnet, aspotashev, nate
Priority: NOR    
Version: Master   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=441156
Latest Commit: Version Fixed In:
Attachments: main.qml example
qmlscene looks correct
settings before hover is incorrect
settings on hover look correct
settings after hover look correct

Description Harald Sitter 2020-09-03 12:38:02 UTC
Created attachment 131384 [details]
main.qml example

title says it all. SwipeListItem incorrectly lays out the contentItem when used inside systemsettings. It resolves itself after hover.

I'm attaching a bunch of screenshots and an example file.

When running the example in qmlscene it looks correct.
When running that same example as main.qml of a kcm the initial spacing of the contentitem is messed up by being too far too the top and too far to the right, when hovering the item appears as expected, when ending hovering the item also looks as expected.
Comment 1 Harald Sitter 2020-09-03 12:38:20 UTC
Created attachment 131385 [details]
qmlscene looks correct
Comment 2 Harald Sitter 2020-09-03 12:38:50 UTC
Created attachment 131386 [details]
settings before hover is incorrect
Comment 3 Harald Sitter 2020-09-03 12:39:05 UTC
Created attachment 131387 [details]
settings on hover look correct
Comment 4 Harald Sitter 2020-09-03 12:39:18 UTC
Created attachment 131388 [details]
settings after hover look correct
Comment 5 Nate Graham 2022-01-23 04:26:33 UTC
*** Bug 448438 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2022-01-23 04:26:38 UTC
*** Bug 440232 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2022-01-23 04:27:27 UTC
*** Bug 410369 has been marked as a duplicate of this bug. ***
Comment 8 Jin Liu 2022-06-04 10:52:39 UTC
Is this bug already fixed? The slideshow settings in systemsettings looks no problem now.
Comment 9 Nate Graham 2022-06-04 15:20:29 UTC
Yes, there were some recent changes that look to have fixed this.