Bug 456075 - "Jump to bottom" button keeps being highlighted after clicked
Summary: "Jump to bottom" button keeps being highlighted after clicked
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-28 10:23 UTC by Jan Bidler
Modified: 2022-11-28 18:43 UTC (History)
2 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 Jan Bidler 2022-06-28 10:23:28 UTC
SUMMARY
The "jump to bottom" button keeps being highlighted after it was clicked.


STEPS TO REPRODUCE
1. Open a room 
2. Scroll up
3. Click on the "jump to bottom" button.
4. Scroll up again.

OBSERVED RESULT
"jump to bottom" button will still be highlighted

EXPECTED RESULT
"jump to bottom" button should not be highlighted anymore

SOFTWARE/OS VERSIONS
System 1:
Linux: Linux Mint 20
KDE Plasma Version: 5.18.8

NeoChat: 22.06, Flatpak
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5

System 2:
Windows: 10 21H1
NeoChat: 22.06
Kde Frameworks: 5.95.0
QT version: 5.15.5
Comment 1 Bug Janitor Service 2022-11-27 20:33:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/685
Comment 2 James Graham 2022-11-28 18:43:57 UTC
Git commit af408603153cb1b13c204e9e48b480f4d606f36d by James Graham.
Committed on 28/11/2022 at 18:43.
Pushed by nvrwhere into branch 'master'.

Fix roompage up/down button highlights

Set the focus to the chatbar after clicking the jump up/down buttons so that they don't stay highlighted.
Also remove messageListView.headerItem.height as part of the down button margin calc as it no longer exists

M  +3    -1    src/qml/Page/RoomPage.qml

https://invent.kde.org/network/neochat/commit/af408603153cb1b13c204e9e48b480f4d606f36d