[Digikam-devel] Patch for bug 111798

Tom Albers tomalbers at kde.nl
Sat Sep 10 13:16:58 BST 2005


Op zaterdag 10 september 2005 01:18, schreef Grégory KOKANOSKY:
> Hello,
>
> the attached patch fixes bug #111798 (Disable "Remove tag" entry from the
> menu when none tag is assigned).
>
> Regards,
> Greg

Greg,

Thanks for looking at this problem. The list of tags to remove has been put in 
a abouttoshow construction of the context menu. The abouttoshow is only 
called when the mouse hovers over the menuitem. So the list of subitems for 
this menu is only calculated whenever the mouse comes over that menu item.  
This prevents that the calculation of all the tags will delay the entire 
context menu.

Your patch re-introduces this behaviour, which is not good imho. Technically 
it seems not possible (without delaying showing the context menu) to disable 
this menu item directly when the contextmenu is shown. 

gr.

Tom
-- 
http://www.kde.nl | http://www.digikam.org |irc: toma | toma at jabber.kovoks.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20050910/3ca48f8f/attachment.bin>


More information about the Digikam-devel mailing list