Bug 494146 - "Use compact room list" just hides recent events, it is no more compact
Summary: "Use compact room list" just hides recent events, it is no more compact
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-05 02:28 UTC by Justin Zobel
Modified: 2025-05-05 14:08 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 Justin Zobel 2024-10-05 02:28:44 UTC
Toggling Settings > Appearance > Use compact room list does not change the density of the room list, it just toggles the visibility of recent messages in the room.
Comment 1 Filip 2024-10-05 07:10:22 UTC
Can confirm. Although it does change after you restart the app or you change something else afterwards like change room list sort order.

Operating System: Arch Linux
Neochat: 24.08.1
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.10.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 2 Bug Janitor Service 2025-05-05 12:38:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/2251
Comment 3 James Graham 2025-05-05 14:08:19 UTC
Git commit 6913a4b447c976979898a536cda1bdc93dba0e7d by James Graham.
Committed on 05/05/2025 at 14:02.
Pushed by nvrwhere into branch 'master'.

Force the room list items to update their height when the compactRoomList setting is changed.

Force the room list items to update their height when the compactRoomList setting is changed.

The solution is a bit janky but for whatever reason the height wasn't updating properly which seems to be a qml bug, it sometime happened slow, sometime you would have to turn NeoChat off then on again.

M  +11   -0    src/rooms/RoomListPage.qml

https://invent.kde.org/network/neochat/-/commit/6913a4b447c976979898a536cda1bdc93dba0e7d