Bug 467021

Summary: Cannot close GTK window from top-right corner
Product: [I don't know] kde Reporter: David <david.cortes.rivera>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, qydwhotmail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David 2023-03-07 19:05:05 UTC
SUMMARY
In KDE window themes like breeze and oxygen, if I maximize a window and position the mouse at the top-right corner of the screen, it will put the "X" button on focus. Thus, if I want to close a maximized app, I can conveniently move the mouse to that corner without aiming for the button, and click to close it. However, in GTK apps that have the titlebar merged with the app window, the "X" button doesn't cover the top-right pixel, so clicking on that corner of a maximized such window does nothing.

STEPS TO REPRODUCE
1. Launch some GTK app that merges the titlebar into the app window, such as "gedit" or "evolution".
2. Maximize the window of said app.
3. Position the mouse at the top-right corner of the screen.
4. Click.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
Should close the app.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-5-amd64 (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 62.6 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: SLIMBOOK
Product Name: Executive

ADDITIONAL INFORMATION
Comment 1 Fushan Wen 2023-03-08 15:40:16 UTC
Please report the bug to GTK.
Comment 2 Bug Janitor Service 2023-03-08 18:11:25 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/breeze-gtk/-/merge_requests/71
Comment 3 Nate Graham 2023-03-13 15:28:29 UTC

*** This bug has been marked as a duplicate of bug 414777 ***