Created attachment 170483 [details] Resizing settings into the void SUMMARY The settings dialog does not have minimum values for width and height set, so it's possible to resize it until there's only a small strip left. STEPS TO REPRODUCE Open the Settings panel and resize the window by moving the mouse cursor to one of the 4 corners and drag OBSERVED RESULT The window including the titlebar and the window control buttons disappears EXPECTED RESULT Just like in the main application window, it should not be possible to make the window smaller than a fixed threshold. At least the titlebar and some part of the application should remain visible. The QT application Kasts (https://flathub.org/apps/org.kde.kasts) has a similar settings dialog with minimum width and height set, so it might be possible to copy code from there. SOFTWARE/OS VERSIONS Arch Linux with Gnome 46 on Wayland and Version 24.05.0 installed from Flathub.
Cannot reproduce, it has a minimum width + height here: Arch, Plasma, Wayland, installed from flatpack. I wonder if this is gnome specific (not sure how though)?
(In reply to duha.bugs from comment #1) > I wonder if this is gnome specific (not sure how though)? Seems like this really might be the case. I reported the same bug for Haruna (https://bugs.kde.org/show_bug.cgi?id=488468), since I observed the exact same behaviour there. A user confirms (https://bugs.kde.org/show_bug.cgi?id=488468#c1) that this issue occurs on Gnome Wayland, but not on Plasma. Strange that it seems to be application specific despite all of them are using QT, on top of that. Trying a bunch of KDE apps from flathub: Windows have no minimum size: KWeather - Dialogs Haruna - Dialogs Peruse (Comic Book Reader) - Main Window Konversation - Main Window Windows have minimum size set everywhere, main window and dialogs: Kasts Okular Dolphin Marknote Koko (Photos) KWrite KCalc
*** Bug 488468 has been marked as a duplicate of this bug. ***
Hmm both qt quick and qt widget apps seems to be affected. Can you check if this is also an issue with the system package or only flatpack? Does the same issue appear under X11? This should probably moved somewhere else than kweather, but I am unsure where.
(In reply to duha.bugs from comment #4) > Can you check if > this is also an issue with the system package or only flatpack? > Does the same issue appear under X11? I installed now Plasma alongside Gnome on the same machine for further comparisons. I'm testing "KWeather" When using Gnome, I always get this bug. It doesn't matter whether on X11 or Wayland, and whether native or Flatpak. When running Plasma on X11, I always get this bug (Doesn't make a difference whether its native or Flatpak) When on Plasma (wayland) using the native package, I *don't* get this error and resizing stops at the right size. When on Plasma (wayland) using Flatpak, I get the described bug and the terminal spams qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:341:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight" when resizing the window to a smaller size than it's supposed to be. This line doesn't appear when running the native package, only Flatpak. So the only combination that seems to work is Plasma, Wayland, native package.
Regarding the irc chat app Konversation, the situation is slightly different (that's where i had this bug in the main window, but not the dialogs): On Plasma Wayland, both the native and the Flatpak version don't have this bug! But the rest is the same. Every other combination with Plasma X11, Gnome X11 & Gnome Wayland and Native / Flatpak does have this bug. I also don't get any terminal output when resizing the flatpak version.