[Geany-Devel] Don't pop-up messages/steal focus when in terminal

Steven Blatnick steve8track at xxxxx
Wed Apr 17 14:49:35 UTC 2013


I've always thought the dialogs should be embedded anyway, which doesn't 
steal focus.  What I mean is like gedit does, where at the top of the 
document a box appears before line 1 and says "This file has been 
modified".  Then, people wouldn't have to press it until they wanted to 
since it would be associated with the document directly.

Thanks,

Steve

On 04/17/2013 05:31 AM, Lex Trotman wrote:
>
>
>
> On 17 April 2013 20:40, Harold Aling <geany at sait.nl 
> <mailto:geany at sait.nl>> wrote:
>
>     I use the terminal emulator in Geany mainly for Git-commands and
>     Drush.
>
>     When pulling the work from collegues using Git, geany pops up a file
>     changed, or deleted warning for all changed or deleted open files
>     which steals focus from the terminal, often right before I press
>     'enter' to execute a commend, resulting in Geany using the default
>     action for that popup, which I then have to figure out what has
>     happend.
>
>     Is it possible to suppress these popups when the terminal has focus?
>
>
>
> The disk status is checked on keypresses (but only once every 30s no 
> matter how fast you type :)
>
> This means that we can tell that the user is interacting with Geany 
> and so stops us popping those dialogs over other apps.  But 
> unfortunately the keypress code is independent of any window.  It 
> might be possible to check if the VTE is focussed and hold off the 
> file check.  It would be a little tricky since the VTE widget may not 
> exist, but with care it could be done.
>
> It just needs "someone" to do it :)
>
> Cheers
> Lex
>
>
>
>     Cheers!
>
>
>     Harold
>     _______________________________________________
>     Devel mailing list
>     Devel at lists.geany.org <mailto:Devel at lists.geany.org>
>     https://lists.geany.org/cgi-bin/mailman/listinfo/devel
>
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20130417/fcd3bf5b/attachment.html>


More information about the Devel mailing list