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

            Bug ID: 456994
           Summary: Press and hold to enter edit mode is inconsistent
                    across desktop area
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Folder
          Assignee: plasma-b...@kde.org
          Reporter: m...@ratijas.tk
                CC: h...@kde.org
  Target Milestone: 1.0

SUMMARY

Pressing and holding on a seemingly empty space of a desktop may or may not
trigger Edit Mode depending on a quite unrelated factor.

Folder applet arranges icons in a grid, left to right and top-to-bottom. There
seem to be an event filter at each grid cell regardless whether an icon is
present there or not. It also seem to only create as much cells (including
filters) as needed to represent all existing icons, same left-to-right
top-to-bottom.

Imagine this being the layout of your desktop, where "O" are icons and numbers
are positions where you press with a cursor.

    +---------------+
    | O 1  o    O   |
    |         2     |
    | 3 o   4       |
    |               |
    |    5          |
    +---------------+

At locations number 1, 2 and 3 pressing and holding won't trigger the Edit
Mode, because the grid still contains more items to layout. At 4 and 5,
however, Edit Mode will be triggered.

STEPS TO REPRODUCE
1. Ensure there is only a single on a desktop.
2. Press and hold either anywhere on top of it, or on the same row strictly on
the left of it.
3. Press and hold anywhere below it, or on the same row strictly on the right
of it.

OBSERVED RESULT
In step 2 Plasma will NOT enter Edit Mode.
In step 3 Plasma will enter Edit Mode.

EXPECTED RESULT
I don't feel like pressing and holding on a free desktop space to enter Edit
Mode should be a thing at all. But since it exists anyway, at least it
shouldn't be inconsistent and random like this.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE: git master
Qt Version: 5.15.5
Kernel Version: 5.18.12-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: G752VT
System Version: 1.0

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

Reply via email to