KoItemToolTip is buggy in MacOS X 10.7.2

Alex Sarmiento alexsarmiento at me.com
Wed Dec 7 23:33:36 GMT 2011


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20111207/6a3ef873/attachment.htm>


More information about the calligra-devel mailing list