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

            Bug ID: 406387
           Summary: Clicked signal wrongly used as a trigger for activated
                    signal (QTreeWidget, PyQt5)
           Product: plasmashell
           Version: 5.15.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: william.b...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY
In QTreeWidget (and perhaps others), the activated signal is usually triggered
by a double click, or by pressing enter. Under Plasma KDE, 'clicked' is also
used as a trigger. This does not comply with the expected Qt behavior and cause
trouble for cross platform applications. 


STEPS TO REPRODUCE
0. Install PyQt5
1. Run this script in a terminal: https://pastebin.com/raw/jfNiiFj6
2. Left click on the 'example item' tree widget item
3. Note the stdout


OBSERVED RESULT (Manjaro-KDE)
pressed
clicked
activated


EXPECTED RESULT (non KDE, Openbox)
pressed
clicked


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2 (built against 5.12.1)

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

Reply via email to