Review Request 129706: Don't focus progress windows

Anthony Fieroni bvbfan at abv.bg
Mon Dec 26 16:24:00 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129706/#review101580
-----------------------------------------------------------




src/kwidgetjobtracker.cpp (line 82)
<https://git.reviewboard.kde.org/r/129706/#comment68001>

    You can try
    vi->setWindowFlags(windowFlags() | Qt::WindowDoesNotAcceptFocus);
    
    I didn't know there is input required widget ?


- Anthony Fieroni


On Дек. 26, 2016, 5:15 след обяд, Martin Tobias Holmedahl Sandsmark wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129706/
> -----------------------------------------------------------
> 
> (Updated Дек. 26, 2016, 5:15 след обяд)
> 
> 
> Review request for KDE Frameworks, Albert Astals Cid, David Faure, and Martin Gräßlin.
> 
> 
> Bugs: 333934
>     https://bugs.kde.org/show_bug.cgi?id=333934
> 
> 
> Repository: kjobwidgets
> 
> 
> Description
> -------
> 
> If there is already a window with focus, re-set focus to that so we
>      don't steal focus. This is especially important since there's a 0.5s
>      delay before the window is shown so people often start interacting with
>      the original window when this is shown.
> 
> 
> Diffs
> -----
> 
>   src/kwidgetjobtracker.cpp 585867a 
> 
> Diff: https://git.reviewboard.kde.org/r/129706/diff/
> 
> 
> Testing
> -------
> 
> Job progress widgets don't steal focus anymore.
> 
> 
> Thanks,
> 
> Martin Tobias Holmedahl Sandsmark
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20161226/175334bb/attachment.html>


More information about the Kde-frameworks-devel mailing list