Opened 6 years ago

Closed 6 years ago

#11695 closed bug (invalid)

BGroupView can't detect mouse when using a BGroupLayoutBuilder

Reported by: Barrett Owned by: stippi
Priority: normal Milestone: R1
Component: User Interface Version: R1/Development
Keywords: layout, grouview, layoutbuilder Cc:
Blocked By: Blocking:
Platform: All


I need to track the mouse in a large and complex view, but i have this problem which is better explained by the attached sample code. I expect the hooks to be called as usual, but for some reason it's not happening.

Attachments (1)

App.cpp (1.1 KB ) - added by Barrett 6 years ago.
This sample app show the problems with layout and mouse tracking.

Download all attachments as: .zip

Change History (4)

by Barrett, 6 years ago

Attachment: App.cpp added

This sample app show the problems with layout and mouse tracking.

comment:1 by anevilyak, 6 years ago

How exactly do you expect those hooks to be called? They will only be called for views that are at the front, and theoretically in the case of your group view, the child string views will be taking up all the space, so all the events will go to them.

comment:2 by Barrett, 6 years ago

Oh, i have been convinced that the hook gets called anyway in the father view. I was just missing this, so the ticket is invalid i suppose. I was expecting to be able to receive the hook ahead of what is drew, now i understand that it's received only by the final handler. Thanks for help!

comment:3 by anevilyak, 6 years ago

Resolution: invalid
Status: newclosed

No problem.

Note: See TracTickets for help on using tickets.