JetpackDuba / Gitnuro

A FOSS Git multiplatform client for newbies and pros
https://gitnuro.com/
GNU General Public License v3.0
872 stars 44 forks source link

Black void to right & bottom of content #127

Closed onetesseract closed 1 year ago

onetesseract commented 1 year ago

Describe the bug When opening Gitnuro on Linux, black bars appear to the right and bottom of the content. This seems to happen regardless of what the app is actually doing (launch screen, project view, settings window open etc)

To Reproduce Steps to reproduce the behavior:

  1. Download & run latest version (1.2.1) of Gitnuro, off the releases page, with java -jar Gitnuro-linux-1.2.1,jar

Expected behavior Not black bars, with the content filling the window.

Screenshots image

Desktop (please complete the following information):

JetpackDuba commented 1 year ago

Hey!

Seems like an odd issue. Perhaps a bug in the JDK? Have you tried the Flatpak version?

onetesseract commented 1 year ago

Yep, just installed and tried it, and the same issue.

ProjectInfinity commented 1 year ago

What if you float the window rather than tiling it, does it appear normally?

onetesseract commented 1 year ago

Floating the window means it snaps to the size without black bars, but then if I try expand it they return. It also doesn't let me shrink the window past the initial size in both dimensions at once (but one is fine, it just clips), interestingly. image image

ProjectInfinity commented 1 year ago

Try starting the JAR version with the following environment variable.

_JAVA_AWT_WM_NONREPARENTING=1 On Jun 14, 2023, 13:08 +0200, onetesseract @.***>, wrote:

Floating the window means it snaps to the size without black bars, but then if I try expand it they return. It also doesn't let me shrink the window past the initial size in both dimensions at once (but one is fine, it just clips), interestingly.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

onetesseract commented 1 year ago

That fixed it, thanks! I had thought I'd fixed the Java window shenanigans in the WM config but apparently not.

Thank you!!

JetpackDuba commented 1 year ago

Thanks for helping @ProjectInfinity !

I'm glad the issues could be fixed :smile: