-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104428/#review12335
-----------------------------------------------------------



service/plugins/globalshortcuts/globalshortcuts.cpp
<http://git.reviewboard.kde.org/r/104428/#comment9675>

    Maybe setting this and all other variables related to dbus in ::realInit() 
solves the delay problem. You should try to figure out exactly where the delay 
really happens (each line in the source code). Without that information any 
suggestion will be just guessing.



service/plugins/globalshortcuts/globalshortcuts.cpp
<http://git.reviewboard.kde.org/r/104428/#comment9674>

    Well, it was not exact this what I suggested you to do. You should have 
kept the ::init() with this content:
    
    {
        QTimer::singleShot(0, this, SLOT(realInit()));
    }
    
    According to Plugin.h the "virtual init()" should be explictitly called and 
the way you did you are doing it automatically.


- Lamarque Vieira Souza


On April 11, 2012, 5:41 p.m., makis marimpis wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104428/
> -----------------------------------------------------------
> 
> (Updated April 11, 2012, 5:41 p.m.)
> 
> 
> Review request for KDE Base Apps, KDE Runtime, Plasma, and Ivan Čukić.
> 
> 
> Description
> -------
> 
> (follows discarded review: 104391)
> 
> The plugin adds global keyboard shortcuts for changing the activity.
> Defaults start from Qt::MetaModifier + Qt::Key_F1.
> 
> Initially, this functionality was implemented (without correct results) using 
> KActitivities::Controller.
> Using DBus seems fine, just that... it forces kamd to start with 3-4 seconds 
> delay - so it really needs modification/and i would like more guidance 
> related to dbus :D.
> Other than that, feedback is needed. 
> 
> 
> This addresses bugs 265069 and 273467.
>     http://bugs.kde.org/show_bug.cgi?id=265069
>     http://bugs.kde.org/show_bug.cgi?id=273467
> 
> 
> Diffs
> -----
> 
>   service/plugins/globalshortcuts/CMakeLists.txt PRE-CREATION 
>   
> service/plugins/globalshortcuts/activitymanager-plugin-globalshortcuts.desktop
>  PRE-CREATION 
>   service/plugins/CMakeLists.txt 3e965c0a201a7eee2c9868fcf163cf55af636858 
>   service/plugins/globalshortcuts/globalshortcuts.h PRE-CREATION 
>   service/plugins/globalshortcuts/globalshortcuts.cpp PRE-CREATION 
> 
> Diff: http://git.reviewboard.kde.org/r/104428/diff/
> 
> 
> Testing
> -------
> 
> Logged in.
> Used the default shortcuts to switch activities.
> It works!
> 
> 
> Thanks,
> 
> makis marimpis
> 
>

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

Reply via email to