angryip / ipscan

Angry IP Scanner - fast and friendly network scanner
angryip.org
GNU General Public License v2.0
4.07k stars 715 forks source link

Text in "Getting Started" window renders outside unresizable window borders. #448

Open RokeJulianLockhart opened 3 months ago

RokeJulianLockhart commented 3 months ago

Describe the bug

The text in the "Getting Started" window renders outside the borders of the window, and the window is not resizable.

To Reproduce

  1. Install https://github.com/angryip/ipscan/releases/download/3.9.1/ipscan-3.9.1-1.x86_64.rpm
  2. Invoke file:///usr/share/applications/ipscan.desktop.

Expected behavior

It should be visible.

Screenshots

Screenshot_20240514_132344

Versions

  1. Version of Angry IP Scanner: https://github.com/angryip/ipscan/releases/download/3.9.1/ipscan-3.9.1-1.x86_64.rpm
  2. OS and version: https://download.fedoraproject.org/pub/fedora/linux/releases/40/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40-1.14.iso
  3. CPU architecture: x86-64
  4. Java version and vendor: https://kojipkgs.fedoraproject.org//packages/java-21-openjdk/21.0.3.0.9/1.fc40/x86_64/java-21-openjdk-21.0.3.0.9-1.fc40.x86_64.rpm from https://koji.fedoraproject.org/koji/rpminfo?rpmID=38500707

Logs:

  1. Windows: Untested.
  2. Mac: Untested.
  3. Linux: Tested.

    (Angry IP Scanner:39313): Gtk-CRITICAL **: 13:26:20.636: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed
Owen-sz commented 1 month ago

I have this issue too, on Fedora 40. Were you able to find a fix for it?

RokeJulianLockhart commented 1 month ago

https://github.com/angryip/ipscan/issues/448#issuecomment-2224305343

@Owen-sz, if you're using KDE Plasma 5 or 6 with KWin as your WM (it's the default) you could create a window rule for the specific window using the relevant KCM in System Settings. I don't know exactly how to do that though, and it would be a bit overkill, considering that this can be fixed in source by just changing the – or adding a – resize() command.

Owen-sz commented 1 month ago

I see. I'm using GNOME on the system I'm testing this with, but I'm wanting to package this for a third-party Fedora repository. I'll try the source fix as a patch, and see if that fixes it. Thanks!

RokeJulianLockhart commented 1 month ago

https://github.com/angryip/ipscan/issues/448#issuecomment-2226116185

@Owen-sz, what source fix? Has a commit already pushed a fix?

Owen-sz commented 1 month ago

Not that I know of, was just gonna do it myself later.