Description of problem: emacs does not correctly handle ctrl-z to minimize the emacs window. Version-Release number of selected component (if applicable): emacs-28.1-2.fc36.x86_64 How reproducible: always Steps to Reproduce: 1. launch: with emacs -q test.txt 2. minimize the window by typing ctrl-z 3. maximize again by double-clicking the emacs icon on the desktop 4. minimize the window again by typing ctrl-z Actual results: the first time I use ctrl-z the window minimizes and an emacs icon appears on the desktop. After resuming the editor by double-clicking the desktop icon I use ctrl-z again, but this time nothing happens, it no longer responds to this command. Expected results: emacs should respond by minimizing its window, every time the ctrl-z command is given. Additional info: note that emacs started in text mode inside a terminal does not seem to have a problem with the ctrl-z command. launching with: emacs -q -nw test.txt it correctly suspends every time I give the ctrl-z command, and it does not matter how often I get it back in the foreground using fg. I tested this with xfce and fvwm based desktops with versions: xfce4-session-4.16.0-5.fc36.x86_64 fvwm-2.6.9-7.fc36.x86_64
Correction: I tested again today, and the issue does not occur with xfce, only with fvwm. Therefore it could also be caused by a change in the fvwm package.
But then I don't understand what change that must have been for fvwm, since it had the exact same version (2.6.9) on f35 and f36. The only difference is the Mass Rebuilds that occurred on different dates.
After downgrading to emacs-1:27.2-9.fc35.x86_64 on my f36 system them problem disappears. If I then upgrade again to emacs-1:28.1-2.fc36.x86_64 the problem returns. So this must be related to emacs after all.
raised the issue upstream here: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58164
problem is solved now upstream in branch master. See commit http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3583f6184d738f1760b9c5467edafd5095f5d3e2 Leaving this bug open for information until emacs is upgraded.
This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16. Fedora Linux 36 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.