Description of problem:
When the GVim window is maximized on secondary screen, it suddenly appears also on the primary screen. Please see the attached video:
I am not really sure if this is issue in GVim, Gnome, Mutter, XWayland or somewhere else.
Version-Release number of selected component (if applicable):
$ rpm -q gnome-shell
$ rpm -qf `which gvim`
$ rpm -q mutter
Steps to Reproduce:
1. Open GVim on secondary screend and maximize
The maximized window is displayed on secondary as well as on primary screen, where the window on primary screen can't be focused
Window is displayed only on one screen.
Proposed as a Freeze Exception for 37-final by Fedora user vondruch using the blocker tracking app because:
Maximizing window makes the window visible on secondary, but also on primary screen. This is very confusing for users. This issue possibly affects all X11 apps. Several are listed in the upstrem ticket .
It says "Album is empty". Why don't you upload the video to the upstream issue or here directly?
Created attachment 1913315 [details]
(In reply to Kamil Páral from comment #2)
> > https://photos.app.goo.gl/VxKBr8DbsPamSLDo7
> It says "Album is empty".
I have deleted the video, but it is back up.
> Why don't you upload the video to the upstream
It seems that GL does not support video upload.
> issue or here directly?
Probably good idea, since I have created the ticket already :)
Interesting, I can't reproduce this. GVim gets maximized on the secondary screen only, for me.
> It seems that GL does not support video upload.
It does, but perhaps only certain types, not sure. I do upload webm videos regularly.
Actually, I just saw it with the Atom IDE. When I maximized it on the *primary* screen, it got duplicated on the secondary screen (just a picture, non-clickable). When unmaximized, the copy disappeared.
The fix for this landed upstream and will be part of mutter-43.1.
I went ahead and backported this in https://src.fedoraproject.org/rpms/mutter/c/332684b6adab3ab581bfb415db35bb9929d58c22?branch=rawhide
FEDORA-2022-c7746c91b6 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-c7746c91b6
When I demaximize GVim or Atom IDE window on the primary screen, there is a short flicker on the secondary screen which shouldn't be there. But apart from that, this issue seems now solved, with that patch applied.
Awesome, thanks for confirming!
Can you file the flicker issue upstream, please? I don't know mutter code at all and it would be best if upstream can take a look.
FEDORA-2022-c7746c91b6 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-c7746c91b6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-c7746c91b6
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Works for me as well. Thx for backporting the fix.
FEDORA-2022-c7746c91b6 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.