Menu

#1927 Win terminal loss of focus

None
closed
nobody
windows (20)
2017-04-29
2017-04-28
No

Note: You all know I'm not normally a Windows user and can only test under linux+wine. So this may not be a problem on Windows proper, or habitual Windows users may be so used to it that they don't notice.

Every "plot" or "splot" command causes the console window to lose focus. In order to continue typing I need to use the mouse to select the console window, click, and then continue. That is maddening. Is there a way to stop the program from losing focus when it executes a plot command?

I am aware of the "space-raises-console" hack, but that doesn't actually help in my case. In order to type the space in a plot window I would still have to grab the mouse, select the window, click, type space, then return the mouse to the console window. That's strictly worse than using the mouse to click on the console window directly.

Discussion

  • Bastian Märkisch

    • labels: --> windows
    • status: open --> open-not-a-bug
    • Group: -->
    • Priority: -->
     
  • Bastian Märkisch

    On Windows, the plot window is raised and - by default - gets the input focus. So typing "space" brings up the terminal again.

    If you prefer to disable that behaviour, untick "Options->Bring to Top" in in the graph window. Make it permanent by "Options->Update wgnuplot.ini".

     
    • Ethan Merritt

      Ethan Merritt - 2017-04-29

      Ah. Great. Options->Bring to Top does it.
      Thanks.
      Typing "space" doesn't work on my setup because focus can only be under the mouse cursor. When the console window yields focus but the mouse cursor is still over it, typed characters go into a black hole.

       
  • Ethan Merritt

    Ethan Merritt - 2017-04-29
    • status: open-not-a-bug --> closed
     
  • Karl Ratzsch

    Karl Ratzsch - 2017-04-29

    Stupid question: Where do wxt and qtl store the graph options? They get retained nicely, without explicitly storing them, but how?

     
    • Ethan Merritt

      Ethan Merritt - 2017-04-30

      ~/.gnuplot-wxt
      ~/.config/gnuplot/qtterminal.conf

      In the case of Qt this file name is constructed by a Qt library routine, so I'm not sure it will be the same for all Qt flavors or versions.

       
      • Karl Ratzsch

        Karl Ratzsch - 2017-04-30

        No such files on windows, but there are registry entries under HKEY_CURRENT_USER/Software/gnuplot/... for both wxt and qt.

         

Log in to post a comment.

MongoDB Logo MongoDB