[texworks] Call for Help: Testing

Reinhard Kotucha reinhard.kotucha at web.de
Fri Feb 19 21:49:40 CET 2021


On 2021-02-19 at 16:49:03 +0000, Philip Taylor wrote:

 >   * And/or Ñ amend TeXworks to /not/ steal focus from the text-mode
 >     window when the PDF is displayed.Ê A frequent usage scenario is
 >     that one is performing a series of search-and-replace
 >     experiments in the text-mode window while observing the effect
 >     in the PDF window, and with the current behaviour the next
 >     search is invariably a "Search PDF" rather than a "Search text"
 >     as desired.

Stefan, I fully agree with Phil.

I've configured my Linux GUI (FVWM2) so that the window which contains
the mouse pointer has the focus.  This is very convenient because I
don't have to click the title bar in order to activate a window.
Clicking into the window itself is quite annoying because this changes
the cursor position.  Another advantage is that if windows overlap
they still stay where they are and I can decide myself which one I
want to pull in the foreground.

However, TeXworks obviously overrides this behavior and after each
compilation I have to move the mouse pointer (which is still in the
editor window) outside and inside the editor window to regain the
focus.  This should never happen.  

Because TeXworks is the only program which overrides my GUI
configuration I assume that there is some place in the programm where
this behavior can be activated or deactivated.  Maybe it's best to
make it configurable.

As I said before, it's my Linux GUI setup that decides which window
gets the focus.  But since both, the editor and the PDF viewer, are
controlled by one and the same program I can imagine that it's
possible to implement the MouseFocus function of FVWM2 as a
configuration option in TeXworks as well.  I have no experience with
Qt but I assume that an event is triggered whenever the mouse enters a
window.  I'm sure that users will like this feature.

For the next stable release it would be nice if at least the behavior
Phil criticized can be deactivated one way or another.

Regards,
  Reinhard

-- 
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de
------------------------------------------------------------------



More information about the texworks mailing list.