https://bugs.kde.org/show_bug.cgi?id=498232

            Bug ID: 498232
           Summary: SwipeListItem places existing action buttons in the
                    wrong place on desktop
    Classification: Frameworks and Libraries
           Product: frameworks-kirigami
           Version: Master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: cwo....@posteo.net
                CC: notm...@gmail.com
  Target Milestone: Not decided

Created attachment 177086
  --> https://bugs.kde.org/attachment.cgi?id=177086&action=edit
a screenshot showing three different icon positions for SwipeListItem

SUMMARY

SwipeListItems that have a visible button can have this button in the wrong
place, including over the text. This does not seem to happen for freshly
created items, only pre-existing ones.

I'm going to give demonstrations steps for kdeconnect-app, but a user on reddit
posted a screenshot
(https://www.reddit.com/media?url=https%3A%2F%2Fpreview.redd.it%2Fqyv4keij51ae1.png%3Fwidth%3D1366%26format%3Dpng%26auto%3Dwebp%26s%3D342539faca0b844e108393af35fe7c584c5f7a7f)
that shows a similar issue in Elisa, which I have also reproduced. Both use
SwipeListItem in the respective ListViews.

STEPS TO REPRODUCE
1. Open kdeconnect-app, click a device in the sidebar, press the Plugin
Settings toolbar button, press the settings button on the Run Command plugin
entry 
2. Press Add Command…,  add one of the sample commands, then repeat with a
different sample command. Note the appropriate button placement.
3. Close kdeconnect-app, repeat step 1. Add a third sample entry for
comparison.

OBSERVED RESULT
See the attached screenshot: the first entry has the Delete button at the left
edge, overlapping the text, the second (pre-existing) entry has the button too
far to the left (but only a bit), and only the third freshly-created one has it
in the correct place. 

EXPECTED RESULT
All buttons are in the same position within the SwipeListItem, and ideally the
one currently used by newly created items.

SOFTWARE/OS VERSIONS

Operating System: TUXEDO OS 
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.1

Kirigami and KDE Connect built today from master. The poster on reddit says
this happens on (stock) Fedora as well, not sure about which version.

ADDITIONAL INFORMATION

The first button is always moved to the left edge. 

There seem to be minor differences between the cases of kdeconnect-app and
Elisa; in the case of Elisa, the button on the second entry is a bit too far to
the right (and extends beyond the ListView) rather than a bit too far left;
adding a fresh entry seems to reset them all to the correct position (but does
not do so for KDE Connect).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to