• Ubuntu 22.04.1 and Gnome: Applications do not open in the foreground

    From Mark5320@21:1/5 to All on Wed Aug 24 10:12:59 2022
    $ gedit & # open app in background

    Let's go back to the terminal

    $ gedit .bashrc

    The application, if it is already open, is not automatically brought to
    the foreground. https://ubunlog.com/wp-content/uploads/2018/11/actividades-taskbar-gnome-extensions.png

    I have to manually click on the applications bar of left.

    Why?

    With Ubuntu 22.04 he did not do it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to xxx@ma.rk on Fri Aug 26 09:02:18 2022
    On Wed, 24 Aug 2022 10:12:59 +0200
    Mark5320 <xxx@ma.rk> wrote:

    With Ubuntu 22.04 he did not do it.

    Please run both versions (22.04 and point release 22.04.1) in a virtual
    machine (live system) and check if that is really the case. Maybe the
    reason is an updated gedit application that isn't included in the 22.04
    iso image, but in the 22.04.1 iso image. 22.04 installations will also
    get that update.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark5320@21:1/5 to All on Fri Aug 26 16:49:36 2022
    Il 26/08/22 09:02, Marco Moock ha scritto:
    Please run both versions (22.04 and point release 22.04.1) in a virtual machine (live system) and check if that is really the case. Maybe the
    reason is an updated gedit application that isn't included in the 22.04
    iso image, but in the 22.04.1 iso image. 22.04 installations will also
    get that update.



    I started the live of 22.04.1 from Virtualbox and does not do it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark5320@21:1/5 to All on Sat Sep 3 10:39:54 2022
    Il 26/08/22 16:49, Mark5320 ha scritto:
    Il 26/08/22 09:02, Marco Moock ha scritto:
    Please run both versions (22.04 and point release 22.04.1) in a virtual
    machine (live system) and check if that is really the case. Maybe the
    reason is an updated gedit application that isn't included in the 22.04
    iso image, but in the 22.04.1 iso image. 22.04 installations will also
    get that update.



    I started the live of 22.04.1 from Virtualbox and does not do it.

    Nothing?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul@21:1/5 to All on Sat Sep 3 07:39:08 2022
    On 9/3/2022 4:39 AM, Mark5320 wrote:
    Il 26/08/22 16:49, Mark5320 ha scritto:
    Il 26/08/22 09:02, Marco Moock ha scritto:
    Please run both versions (22.04 and point release 22.04.1) in a virtual
    machine (live system) and check if that is really the case. Maybe the
    reason is an updated gedit application that isn't included in the 22.04
    iso image, but in the 22.04.1 iso image. 22.04 installations will also
    get that update.



    I started the live of 22.04.1 from Virtualbox and does not do it.

    Nothing?

    I could find some mention of gedit having some "Viewport" code.

    This could be related to the concept of Workspace, having two
    gedit windows, having gedit some.txt open in a particular workspace.

    Apparently at one time, gedit was doing some math on the X= and Y=
    of the window, to determine how to behave. And this had an impact
    on whether the window for gedit would pop to the front.

    You can see here, there is mention that someone has been working
    on that viewport code and removing it (as part of move to Wayland
    and trashing X11 related stuff).

    https://gitlab.gnome.org/GNOME/gedit/-/issues/420

    It is this code, which *may* have had something to do with your problem. A version
    of Gedit before 3.38 may still have had this code, and supported tabs too.

    https://gitlab.gnome.org/GNOME/gedit/-/commit/d0728e7d0c3e7fdc58f03f0af4e0ce64eb7aef6e

    /* Check for viewport match */

    return x + width * .75 >= geometry.x &&
    x + width * .25 <= geometry.x + geometry.width &&
    y + height * .75 >= geometry.y &&
    y + height * .25 <= geometry.y + geometry.height;

    When a new tab attempts to open, that viewport check interferes
    with grabbing focus somehow.

    I would check the version of gedit.

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)