When a panel is open it blocks some mouse events to the rest of the page

Bug #1295720 reported by Andrew Hayzen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
High
Tim Peeters
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

If a panel is open it blocks mouse drag events to the rest of the page. For example in the branch [1] if the panel is open you cannot click and drag to scroll the listview.

1 - lp:~andrew-hayzen/+junk/test-panel-clicked

Related branches

Revision history for this message
Tim Peeters (tpeeters) wrote :

workaround, set __closeOnContentsClicks: false for the Panel.

There is some deprecated code in Panel that I need to remove to fix this.

Changed in ubuntu-ui-toolkit:
status: New → Confirmed
assignee: nobody → Tim Peeters (tpeeters)
importance: Undecided → Critical
Revision history for this message
Tim Peeters (tpeeters) wrote :

This is a regression in Qt 5.2. topmostItem needs to be set for the panel (this was not the case with qt 5.0)

Revision history for this message
Tim Peeters (tpeeters) wrote :

apparently the bug is also there on saucy with Qt 5.0.2, so not a regression with qt 5.2.

Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
status: Confirmed → In Progress
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
importance: Critical → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-ui-toolkit - 0.1.46+14.04.20140331-0ubuntu1

---------------
ubuntu-ui-toolkit (0.1.46+14.04.20140331-0ubuntu1) trusty; urgency=low

  [ Zoltán Balogh ]
  * Separate the online and offline documentation and install the QtC
    help file

  [ Zsombor Egri ]
  * Move state data file to temp folder (LP: #1276760)
  * StateSaver does cleanup if the app is closed due to SIGTERM. This is
    needed as upstart sends this signal when the application is closed
    from app scope. SIGINT saves the state. (LP: #1259498)
  * MainView binding loop fix when backgroundColor is changed runtime.
    (LP: #1204453)

  [ Loïc Molinari ]
  * [Perf metrics] Considered number of CPU cores for CPU usage.

  [ tpeeters ]
  * Add useDeprecatedToolbar property to MainView which can be used to
    disable the current toolbar. Unsetting that property will in future
    also enable new features in the header. (LP: #1273184)
  * Close panel on contents press instead of click, so that composed
    events are not eaten by the InverseMouseArea of the Panel. (LP:
    #1295720)

  [ Christian Dywan ]
  * Treat QML warnings as fatal except for explicitly listed tests
 -- Ubuntu daily release <email address hidden> Mon, 31 Mar 2014 18:26:59 +0000

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.