[Bug] [Linux] Octave window steals focus when switching workspaces?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug] [Linux] Octave window steals focus when switching workspaces?

eakoglu
I confirm the issue below on X11. For details please see the link below. This
does not happen on Wayland. I use Fedora 31 64-bit and GNU Octave 5.1.0 as
Octave was configured for "x86_64-redhat-linux-gnu".

https://octave.1599824.n4.nabble.com/Bug-Linux-Octave-window-steals-focus-when-switching-workspaces-td4686446.html
<https://octave.1599824.n4.nabble.com/Bug-Linux-Octave-window-steals-focus-when-switching-workspaces-td4686446.html>  

In addition, when GNU Octave is full screen on a workspace other than the
workspace where the screen is locked, after unlocking the screen the
workspace is automatically switched to the workspace where GNU Octave window
is present. For instance, if GNU Octave window is full screen on workspace 1
and you lock the screen on workspace 2, after you unlock the screen
workspace 2 switches to workspace 1 automatically and the GNU Octave window
steals focus.

The same issue is also present on PoP OS:

https://www.reddit.com/r/pop_os/comments/hg2xjm/gnu_octave_stealing_window_focus_in_pop_os_when/
<https://www.reddit.com/r/pop_os/comments/hg2xjm/gnu_octave_stealing_window_focus_in_pop_os_when/>  

Best regards,

Ekin




--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: [Bug] [Linux] Octave window steals focus when switching workspaces?

Torsten Lilge
On Fri, 2020-07-03 at 02:09 -0500, eakoglu wrote:

> I confirm the issue below on X11. For details please see the link
> below. This
> does not happen on Wayland. I use Fedora 31 64-bit and GNU Octave
> 5.1.0 as
> Octave was configured for "x86_64-redhat-linux-gnu".
>
> https://octave.1599824.n4.nabble.com/Bug-Linux-Octave-window-steals-focus-when-switching-workspaces-td4686446.html
> <
> https://octave.1599824.n4.nabble.com/Bug-Linux-Octave-window-steals-focus-when-switching-workspaces-td4686446.html
> >  
>
> In addition, when GNU Octave is full screen on a workspace other than
> the
> workspace where the screen is locked, after unlocking the screen the
> workspace is automatically switched to the workspace where GNU Octave
> window
> is present. For instance, if GNU Octave window is full screen on
> workspace 1
> and you lock the screen on workspace 2, after you unlock the screen
> workspace 2 switches to workspace 1 automatically and the GNU Octave
> window
> steals focus.
>
> The same issue is also present on PoP OS:
>
> https://www.reddit.com/r/pop_os/comments/hg2xjm/gnu_octave_stealing_window_focus_in_pop_os_when/
> <
> https://www.reddit.com/r/pop_os/comments/hg2xjm/gnu_octave_stealing_window_focus_in_pop_os_when/
> >  
>
> Best regards,
>
> Ekin
>

This issue should be fixed in the upcoming 6.1 release by changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/0915fec3d3a9?revcount=160 

I will test whether this fix also solves the issue unlocking a session
with Octave running in full screen mode.

Torsten