Code review comment for lp:~tpeeters/ubuntu-ui-toolkit/panel

Revision history for this message
Florian Boucault (fboucault) wrote :

In documentation of Panel:

"Any Items can be placed inside the Panel, but MouseAreas can block mouse events from reaching the panel and thus obstruct the swiping behavior for hiding the panel. As a result, the user cannot start swiping on the buttons in the examples above in order to hide the panel. To remedy this, clicked() signals are forwarded from the panel to its children."

That does not sound right. Why can't the MouseArea inside Panel be placed on top of all the content and refuse mouse events that it does not care about?

« Back to merge proposal