Bug 455976 - "Open sidebar" button appears very quickly at the bottom when search gets focused
Summary: "Open sidebar" button appears very quickly at the bottom when search gets foc...
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-26 20:10 UTC by Jan Bidler
Modified: 2022-11-27 13:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Bidler 2022-06-26 20:10:32 UTC
SUMMARY
The "open sidebar" button very quickly moves to the bottom right when search gets focused


STEPS TO REPRODUCE
1. Open NeoChat and login
2. Minimize the sidebar
3. Focus search

OBSERVED RESULT
For a split second, the "open sidebar" button can be seen teleporting to the bottom right corner, and slide into there

EXPECTED RESULT
The "open sidebar" button should slide into the top right corner.

SOFTWARE/OS VERSIONS
Windows: 21H1
NeoChat Version: 22.04
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2
Comment 1 Jan Bidler 2022-06-28 09:51:48 UTC
Clarification: issue only happens if the window is thin enough.
If the window is too wide, the button just stays in the top right, which now that I've noticed it, is a better expected result.
Comment 2 Bug Janitor Service 2022-11-27 12:43:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/672
Comment 3 James Graham 2022-11-27 13:31:19 UTC
Git commit 0ef1d4bfa346b09dc37fa46c8d4fc82032852e64 by James Graham.
Committed on 27/11/2022 at 13:31.
Pushed by nvrwhere into branch 'master'.

Fix RoomDrawer Button Visibility

Change the condition for RoomDrawer handle visibility to pageStack.visibleItems.length > 1 rather than wideMode so that it is always visible when the window is wide enough to have 2 pages shown.

M  +1    -1    src/qml/main.qml

https://invent.kde.org/network/neochat/commit/0ef1d4bfa346b09dc37fa46c8d4fc82032852e64