Just a note on the MouseArea for AItem, I tried both preventStealing: true propagateComposedEvents: true
Without much success On Wed, Mar 11, 2015 at 10:57 AM, Jérôme Godbout <jer...@bodycad.com> wrote: > Hi, > I'm running into multiple problems with QmlMouseArea when superposed to > each other (running with Qt 5.3.0). > > The mouse area under containsMouse get stick to true and mouseX, mouseY > are incorrect, click does not always (sometime does and sometime don't) get > through. > > Here's a simple explain. > > AItem > { > BItem { ... MouseArea { hoveredEnabled: true; ...} } > MouseArea { hoveredEnabled: true; z: 10; ...} > } > > BItem is it's own component with it's own behavior. > > What is the proper way to achieve this without running into a nightmare of > knowing where the Component will be used and still work for all > application? Is that a forbidden use case or just a limitation? Is the > mouse area behavior fix in 5.4 (maybe the mouseArea scroll wheel bug > introduced in 5.3.1 would be a lesser problem then this to work with and we > could update anyway). MouseArea feel so broken with event accepted not so > much working. > > Thanks, > Jerome >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest