Toolbars are behaving strangely
Rafael Fernández López
ereslibre at kde.org
Sun Feb 10 20:28:50 GMT 2008
Hi,
I wrote a test case only based on Qt (note that the icons are absolute paths,
this has been a really fast written example, just trying to find out all
possible order of calls), and all they seemed to work fine.
http://media.ereslibre.es/2008/02/qttoolbars
The only thing I can think about right now (and seems that it fixed it) is
that we override the contextual menu. Maybe the original Qt one makes a call
to updateGeometry or a similar method (I have no time to take a look at the
Qt code right now).
So, the attached patch fixes the problem we talked about on IRC (I will commit
_that part_ tomorrow), and what I'd like to know is if it is OK to commit the
other part too. It basically forces an updateGeometry() call after the menu
has been shown (of course, in a synchronous way).
Bye,
Rafael Fernández López
GPG Fingerprint: B9F4 4730 43F8 FFDD CC5E BA8E 724E 406E 3F01 D070
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ktoolbar.diff
Type: text/x-diff
Size: 1061 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080210/327eae7b/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080210/327eae7b/attachment.sig>
More information about the kde-core-devel
mailing list