Bug 440232 - SwipeListItem action buttons can get cut off or hidden when contentItem is overridden
Summary: SwipeListItem action buttons can get cut off or hidden when contentItem is ov...
Status: RESOLVED DUPLICATE of bug 426142
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.90.0
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-24 19:30 UTC by Arnaud
Modified: 2022-01-23 04:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Window with missing buttons (161.05 KB, image/png)
2021-07-24 19:30 UTC, Arnaud
Details
Window with buttons (195.03 KB, image/png)
2021-07-24 19:31 UTC, Arnaud
Details
Video describing the issue (302.49 KB, video/mp4)
2021-08-05 17:07 UTC, Arnaud
Details
Buttons too far right (17.97 KB, image/png)
2021-09-08 21:16 UTC, Arnaud
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud 2021-07-24 19:30:47 UTC
Created attachment 140305 [details]
Window with missing buttons

SUMMARY

When first opening the Desktop settings app with a slideshow, the control buttons (remove and browse) for each folder are not present. I have to tile the window or change tab to see them appear. Resizing or maximizing would not make them appear.

STEPS TO REPRODUCE
1. Open the desktop settings
2. Set to slideshow
4. Notice the buttons for folders are missing
3. Change tab or tile window
4. You should see the 2 control buttons appear

OBSERVED RESULT

The folder control buttons are not visible initially.

EXPECTED RESULT

The folder control buttons should always be visible.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon Unstable Edition
(available in About System)
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.85
Qt Version: 5.15.3
Comment 1 Arnaud 2021-07-24 19:31:57 UTC
Created attachment 140306 [details]
Window with buttons
Comment 2 Arnaud 2021-07-24 19:37:07 UTC
Just noticed the buttons appear when the folder list width changes. This is why I thought only tiling and changing tab would make them appear, because I didn't resize the window small enough.

So you can also make the buttons appear if you resize the window small enough to change the width of the folder list.
Comment 3 Nate Graham 2021-08-04 23:31:58 UTC
That's odd. Cannot reproduce. Not sure how this bug makes any sense at all. :(
Comment 4 Arnaud 2021-08-05 17:07:08 UTC
Created attachment 140549 [details]
Video describing the issue

I can reproduce it on other computers running 5.22.4. Here's is a video which could help understand the issue.
Comment 5 Nate Graham 2021-08-29 23:50:09 UTC
I have investigated this and I have no idea how it could possibly be happening. Is it still reproducibly happening to you?
Comment 6 Arnaud 2021-09-08 21:16:10 UTC
Created attachment 141410 [details]
Buttons too far right

Yes I can still reproduce the bug on 2 different computers, both running neon 5.22.5 with KDE Framworks 5.85.0 and Qt 5.15.3. One has a 1920x1080 dual screen setup, the other a single 1366x768 screen.

What I noticed is the buttons are in fact here, but too far right. Only the left side of the remove button is clickable as you can see in the screenshot.
Comment 7 Nate Graham 2021-09-14 15:04:12 UTC
Thanks.
Comment 8 Nate Graham 2022-01-14 21:13:03 UTC
*** Bug 448438 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2022-01-15 03:39:08 UTC
I can't personally reproduce this, but I'm not completely surprised because the code for this is pretty bad. I know because I wrote it. I'll see if I can clean it up a bit and hopefully reduce the weirdness.
Comment 10 Nate Graham 2022-01-23 04:26:38 UTC

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