SUMMARY Pressing kwin's "full screen" button doesn't work with Emacs. This was found as part of research on this issue https://github.com/kwin-scripts/kwin-tiling/issues/161 STEPS TO REPRODUCE 1. Start `emacs -Q` 2. Press the button that you have bound to "make window fullscreen" kwin action OBSERVED RESULT Nothing happens. EXPECTED RESULT Emacs should get opened to full screen. SOFTWARE/OS VERSIONS Window API: X11 KDE Plasma Version: 5.16 KDE Frameworks Version: 5.59 Qt Version: 5.12.3 ADDITIONAL INFORMATION This works fine on i3wm, so this looks like kwin issue.
Please provide output of xprop and xwininfo of emacs. Emacs is known to be not standard compliant, it's a tricky application.
Created attachment 120894 [details] xprop on Emacs -Q
Created attachment 120895 [details] xwininfo on Emacs -Q
(In reply to Martin Flöser from comment #1) > Please provide output of xprop and xwininfo of emacs. Emacs is known to be > not standard compliant, it's a tricky application. Thanks, attached
(In reply to Konstantin Kharlamov from comment #4) > (In reply to Martin Flöser from comment #1) > > Please provide output of xprop and xwininfo of emacs. Emacs is known to be > > not standard compliant, it's a tricky application. > > Thanks, attached I did that with kwin-tiling extension enabled, is that okay? I can redo them if not.
What's your screen resolution?
(In reply to Martin Flöser from comment #6) > What's your screen resolution? $ xrandr -q Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192 VGA-0 disconnected (normal left inverted right x axis y axis) LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm 1366x768 60.07*+ 1280x720 59.97 1152x768 59.95 1024x768 59.95 800x600 59.96 848x480 59.94 720x480 59.94 640x480 59.94 HDMI-0 disconnected (normal left inverted right x axis y axis)
Given the resize increment provided by emacs (8x17) it is impossible to fullscreens the window with the used resolution. 1326 doesn't divide by 8 and 681 doesn't divide by 17. Previous experience was that we cannot resize to not allowed values as applications resize back and then we are in a resize loop. I'm sorry I don't see a bug here. We are constraint by the resize increment emacs provides.
(In reply to Martin Flöser from comment #8) > Given the resize increment provided by emacs (8x17) it is impossible to > fullscreens the window with the used resolution. 1326 doesn't divide by 8 > and 681 doesn't divide by 17. > > Previous experience was that we cannot resize to not allowed values as > applications resize back and then we are in a resize loop. > > I'm sorry I don't see a bug here. We are constraint by the resize increment > emacs provides. But why then fullscreen with Emacs works on i3?
If it works on i3, then i3 ignores the resize increments. In other words, it ignores this part of the X11 window manager standard.
FTR, I sent a patch for this bug to Emacs https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36250