Bug 499929 - Resizing window until the right sidebar is hidden, while the room's QR code is shown full-size, freezes the UI
Summary: Resizing window until the right sidebar is hidden, while the room's QR code i...
Status: CONFIRMED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: 24.12.2
Platform: NixOS Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-12 22:11 UTC by Elias Probst
Modified: 2025-02-26 20:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2025-02-12 22:11:36 UTC
SUMMARY
When decreasing the window width until the sidebar gets hidden, while a channel's QR code is being shown, kills the UI interaction completely.

STEPS TO REPRODUCE
1. Open the sidebar of a channel
2. click on the QR code to display it in fullsize
3. decrease the window width until the sidebar gets hidden

OBSERVED RESULT
As soon as the sidebar gets hidden, no interaction with the UI is possible anymore, clicks get just ignored.
This terminal output coincides with the UI getting broken:
> QQuickItem::stackBefore: Cannot stack QQuickRectangle(0x2f2edba0, parent=0x25e055a0, geometry=0,0 0x0) before QQuickPopupItem(0x25d66d00), which must be a sibling

A restart is needed to be able to use Neochat again.

EXPECTED RESULT
The UI doesn't break when resizing it while displaying the fullsize QR code.

SOFTWARE/OS VERSIONS
Operating System: NixOS 25.05
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.12.13 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Xe Graphics

ADDITIONAL INFORMATION
Comment 1 Elias Probst 2025-02-12 22:15:49 UTC
I'm getting the 

> QQuickItem::stackBefore: Cannot stack QQuickRectangle(0x2f2edba0, parent=0x25e055a0, geometry=0,0 0x0) before QQuickPopupItem(0x25d66d00), which must be a sibling

message when resizing the window also when no QR code is shown.
The message being logged coincides with a brief freeze of the Neochat window for ~1 second.
Comment 2 John Kizer 2025-02-26 20:38:25 UTC
Hi - I can confirm this on my Fedora KDE 41 device. Thanks for your bug report!

For what it's worth - maybe this could be related to https://bugs.kde.org/show_bug.cgi?id=471137 ?