Bug 239940

Summary: KCategorizedView: Checkable items don't check that press and release mouse events occured above the same item
Product: [Unmaintained] kdelibs Reporter: Eike Hein <hein>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eike Hein 2010-05-29 04:33:39 UTC
This is reported against 4.5-beta1.

The correct interaction model for UI elements like checkboxes and buttons is as follows: After you press the left mouse button on them, you are supposed to be able to cancel that operation by dragging the mouse pointer away and releasing the button outside the UI element you originally pressed on. This release then has to be free of side-effects.

A KCategoriedView with items with embedded checkboxes currently violates this model: If you press on one checkbox, then drag away and release on another, the checkbox you released on gets checked.

A check has to be made to ensure that both the press event and the release event occured above the same checkbox before a checkbox gets checked.

An example of where this is an issue is the "Display" page of the "System Tray Settings" configuration dialog of the System Tray plasmoid in KDE 4.5-beta1.
Comment 1 Christoph Feck 2010-05-29 05:37:45 UTC
The bug is in Qt; the item is a checkable item, and the event handling bug also shows with a plain QListView with checkable items (see Dolphins "Services" settings page).

Please report this bug to http://bugreports.qt.nokia.com/