The KoItemToolTip class has a window flag set to Qt::Tool , but should be set 
to Qt::ToolTip. I don't know if this is intentional or not, but i think it 
should be set to  Qt::ToolTip. Is a tool tip widget right?

Anyway, when set to Qt::ToolTip, those tool tips with thumbnails and other 
info, become persistent on MacOS 10.7.3 and they don't go away. Besides, the 
menubar of the application disappear  
please look at this link

http://i.imgur.com/F8mYT.png

I just made a minor change:

calligra-2.3.84/libs/main/KoItemToolTip.cpp 
48c48
<     setWindowFlags(Qt::FramelessWindowHint  | Qt::ToolTip
---
>     setWindowFlags(Qt::FramelessWindowHint  | Qt::Tool


Now everything works like should be.

I Tried the Qt::WA_MacAlwaysShowToolWindow but i have compile errors. Maybe i 
don,t know ho to use i, but i still think that doesn't makes sense to use 
Qt::Tool.

_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel

Reply via email to