Bug 239940 - KCategorizedView: Checkable items don't check that press and release mouse events occured above the same item
Summary: KCategorizedView: Checkable items don't check that press and release mouse ev...
Status: RESOLVED UPSTREAM
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdeui (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-29 04:33 UTC by Eike Hein
Modified: 2010-05-29 05:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/