VisTrails / DAT

The Data Analysis Tool, providing a simpler, plotting-oriented UI on top of VisTrails
3 stars 5 forks source link

Can't turn overlays into QWidgets on Mac #1

Closed remram44 closed 9 years ago

remram44 commented 9 years ago

(originally TRAC#4, 2013-02-12)

Mac OS seems to have an issue with changing child widgets in response to dragEnter/dragLeave events (it emits a couple of them immediately, causing the code to change the child widget again... and repeat).

This makes it difficult to have a modern and responsive UI... or to use VisTrails?'s configuration widgets in the overlays.


comment by @remram44:

Fixed by a5156584e3, thanks to qt-project.org


comment by @remram44:

No, as of ccf942a9a5, there is still an issue. Replacing a widget by another (with WA_TransparentForMouseEvents set) during the drag provokes a seg fault (on Mac OS only).


comment by @remram44:

e6f67186b0 works around this issue by making sure that ALL overlays have WA_TransparentForMouseEvents set for the duration of the drag. The code is not pretty but I haven't found a more elegant solution yet...