[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Plugin manager issues
From:       "=?UTF-8?Q?Rafael_Fern=C3=A1ndez_L=C3=B3pez?=" <ereslibre () gmail ! com>
Date:       2007-02-21 23:37:44
Message-ID: 93f85fee0702211537v14f3800am87afeaaa8ac8385f () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]

Hi,

Taking a look in general to my first changes (aside from KPluginSelector),
but that has to do with plugins I have seen an issue here. The file is
pluginmanager.cpp (kdebase/workspace/kicker/kicker/core). Method
slotPluginDestroyed.

I added a signal some time ago (pluginDestroyed()) to notify the
AddAppletDialog class (kdebase/workspace/kicker/kicker/ui/addapplet.cpp).

The connection between the signal (at PluginManager and the slot at
AddAppletDialog) is done at line 90 in addapplet.cpp.

I added this signal just for fixing a small issue: if you added an applet
that only can be added once, this one will automatically be hidden on the
list view at AddAppletDialog. If you still have the window opened, and you
remove that unique-applet, it wasn't added to the list again, so you had to
close the window and reopen it, in order to see it listed. This wasn't
intuitive for users at any point.

Well, revisiting this code I see this is just crap. If you close that window
(still with the unique-applet added to kicker), reopen that window, and
remove the unique-applet, it won't be added to the list, since
PluginManager::self() is another different instance. I have seen probably is
needed dbus help here, what do you think ?


Bye and thanks,
Rafael Fernández López.

[Attachment #3 (text/html)]

Hi,<br><br>Taking a look in general to my first changes (aside from KPluginSelector), \
but that has to do with plugins I have seen an issue here. The file is \
pluginmanager.cpp (kdebase/workspace/kicker/kicker/core). Method slotPluginDestroyed. \
<br><br>I added a signal some time ago (pluginDestroyed()) to notify the \
AddAppletDialog class (kdebase/workspace/kicker/kicker/ui/addapplet.cpp).<br><br>The \
connection between the signal (at PluginManager and the slot at AddAppletDialog) is \
done at line 90 in  addapplet.cpp.<br><br>I added this signal just for fixing a small \
issue: if you added an applet that only can be added once, this one will \
automatically be hidden on the list view at AddAppletDialog. If you still have the \
window opened, and you remove that unique-applet, it wasn&#39;t added to the list \
again, so you had to close the window and reopen it, in order to see it listed. This \
wasn&#39;t intuitive for users at any point. <br><br>Well, revisiting this code I see \
this is just crap. If you close that window (still with the unique-applet added to \
kicker), reopen that window, and remove the unique-applet, it won&#39;t be added to \
the list, since PluginManager::self() is another different instance. I have seen \
probably is needed dbus help here, what do you think ? <br><br><br>Bye and \
thanks,<br>Rafael Fernández López.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic