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)