The notes-app uses an InverseMouseArea to capture all clicks that are outside of a note in order to collapse the note. In Qt 5.0, the onClicked handler of InverseMouseArea would get invoked when clicking in the header. With Qt5.2 it does not get invoked when clicking in the header, but does when you click anywhere else.
The topmostItem: true property seems to be correctly set and this should cause events to be captured as this component is the top of the stacking order. Somthing must have changed in Qt5.2 with the stacking order that prevents this from working.
NOTE: this bug only seems to appear on the device. On the desktop I successfully get onClicked events when clicking in the header using Qt5.2
I looked into this more. The problem is here: bazaar. launchpad. net/~phablet- team/notes- app/trunk/ view/head: /Components/ NoteItem. qml#L143
http://
The notes-app uses an InverseMouseArea to capture all clicks that are outside of a note in order to collapse the note. In Qt 5.0, the onClicked handler of InverseMouseArea would get invoked when clicking in the header. With Qt5.2 it does not get invoked when clicking in the header, but does when you click anywhere else.
The topmostItem: true property seems to be correctly set and this should cause events to be captured as this component is the top of the stacking order. Somthing must have changed in Qt5.2 with the stacking order that prevents this from working.
NOTE: this bug only seems to appear on the device. On the desktop I successfully get onClicked events when clicking in the header using Qt5.2