Bug 380767

Summary: FIXED in git: Focus follows mouse keeps switching between new script tabs (0.6.1, opensuse)
Product: [Applications] rkward Reporter: RKWard Team <rkward-devel>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: RESOLVED FIXED    
Severity: normal CC: thomas.friedrichsmeier
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description RKWard Team 2013-10-25 07:41:39 UTC
-- Originally posted by (AT sourceforge.net): inverse328 --

-- This ticket was imported from http://sourceforge.net/p/rkward/bugs/134 on 2017-05-30 15:26:58 +0100 --
The focus follows mouse function, alternates at high speed between an old and a newly created script tab.

Rkward 0.6.1 (from download.opensuse.org/repositories/devel:/languages:/R:/Supplement)
Opensuse 12.3
KDE 4.10.5 R1


Steps
1. set MDI window focus behavior to "focus follows mouse" (settings > General MDI window focus behavior).
2a. Create a new script file tab, using CTRL-N or the menu icon "Create"
2b. When the cursor is in the textwindow , the two tabs alternate at high speed. 
3. When moving out of the text-area, or clicking in it, the switching stops. Opening a new doesn't help.

2b may also explain the issue when using the "create" icon, as this places the cursor effectively within the text area.


Workaround
Deactive and use KDE's focus follow option,
(configure desktop > windows behavior > tab focus > Policy)


Notes
BTW, at times the rwkard mouse focus option isn't practical, e.g. when creating a new graphic output window, it gets pushed back. A delay could help, but wouldn't solve everything. 

FYI
Comment 1 Thomas Friedrichsmeier 2016-01-01 11:41:27 UTC
- **summary**: Focus follows mouse keeps switching between new script tabs (0.6.1, opensuse) --> FIXED in git: Focus follows mouse keeps switching between new script tabs (0.6.1, opensuse)
- **status**: open --> open-fixed
Comment 2 Thomas Friedrichsmeier 2016-01-01 11:41:27 UTC
Many thanks for reporting, and very sorry about the long silence.

This issue should now be fixed in our development version (also the issue of pushing back plot windows). See https://rkward.kde.org/RKWard_Source_Repository for instructions on testing the development version, if you like.

Regards
Thomas
Comment 3 Thomas Friedrichsmeier 2018-10-19 12:32:12 UTC
Somehow, I forgot to close this report.