Bug 426142 - SwipeListItem layout wrong BUT only inside systemsettings
Summary: SwipeListItem layout wrong BUT only inside systemsettings
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: Master
Platform: Other Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
: 410369 440232 448438 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-09-03 12:38 UTC by Harald Sitter
Modified: 2022-06-04 15:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
main.qml example (1.89 KB, text/x-qml)
2020-09-03 12:38 UTC, Harald Sitter
Details
qmlscene looks correct (29.49 KB, image/png)
2020-09-03 12:38 UTC, Harald Sitter
Details
settings before hover is incorrect (144.60 KB, image/png)
2020-09-03 12:38 UTC, Harald Sitter
Details
settings on hover look correct (142.05 KB, image/png)
2020-09-03 12:39 UTC, Harald Sitter
Details
settings after hover look correct (143.62 KB, image/png)
2020-09-03 12:39 UTC, Harald Sitter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.