Bug 2193068

Summary: Emacs window has strange black margins
Product: [Fedora] Fedora Reporter: Jean Abou Samra <jean>
Component: emacsAssignee: Daiki Ueno <dueno>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: dan.cermak, dueno, furyinbox+fedoraproject, gordon.messmer, jean, msekleta, phracek, robinlee.sysu, swt, tom
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-21 14:54:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot
none
Screenshot in overview (GIMPed to show the problem more clearly)
none
spacious-padding - makes strange gaps none

Description Jean Abou Samra 2023-05-04 08:03:48 UTC
When using "Ctrl-<left arrow>" or "Ctrl-<right arrow>" in order to put the Emacs window side-by-side with another application, it has a black margin that impinges on the other application. Also, when using the Super key to enter the app overview, you can also see such margins on the top and on the bottom.

Screenshots attached.

This is on Fedora 38 with GNOME.


This is usually not seen, 

Reproducible: Always

Steps to Reproduce:
1. Open Emacs.
2. Press Super+Left.
Actual Results:  
Black margins.

Expected Results:  
No margins.

Comment 1 Jean Abou Samra 2023-05-04 08:05:26 UTC
Created attachment 1962154 [details]
Screenshot

Comment 2 Jean Abou Samra 2023-05-04 08:12:11 UTC
Created attachment 1962155 [details]
Screenshot in overview (GIMPed to show the problem more clearly)

Comment 3 Dan Čermák 2023-05-18 13:56:22 UTC
You are running wayland with GNOME, right? If you can try it with X11 easily, could you please try to reproduce it with X11 as well?

Comment 4 Jean Abou Samra 2023-05-18 14:51:15 UTC
Could you advise on how to run Emacs under X11?

Comment 5 Ruslan Bekenev 2024-01-07 01:20:33 UTC
I just checked it on F39 and rawhide (wayland and X11) and I can't reproduce. 
Is it emacs 29.1? 
Could you also please try "emacs -Q" and see if it behaves the same?

Comment 6 Jean Abou Samra 2024-01-14 12:16:37 UTC
Well, I upgraded my system multiple times across the life of Fedora 39, and I don't have the problem anymore. This bug can probably be closed.

Comment 7 Ruslan Bekenev 2024-01-14 12:23:54 UTC
I actually was able to reproduce it a few days ago on Fedora 39. 
I've been messing with various DE installations and I can see it on KDE+Wayland. Let me collect some more info and I'll post it here during a couple of days.

Comment 8 Ruslan Bekenev 2024-01-15 08:32:38 UTC
As @jean mentioned the issue can probably be closed. I think I confused the bug initially reported with something else (see attachment below).
I've found that emacs library called spacious-padding is causing issues in my emacs when I create split buffers. But then I just double checked the screenshot initially attached and turned out I was chasing the wrong issue.

Comment 9 Ruslan Bekenev 2024-01-15 08:34:02 UTC
Created attachment 2008707 [details]
spacious-padding - makes strange gaps

Comment 10 Aoife Moloney 2024-05-21 14:54:16 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 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.