element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.03k stars 1.96k forks source link

New Room List: Configuration of room list not persisted across application launches #14496

Open MacLemon opened 4 years ago

MacLemon commented 4 years ago

Description

The new room list always resets to default setup when launching the Element/Electron application.

Steps to reproduce

It doesn't remember which panels are expanded and which are collapsed. It doesn't remember how many items you want to see in a certain panel/category.

Describe how what happens differs from what you expected. Logs being sent:no, UI/UX issue

I try setting up the room list so it is efficient for me to use.

For example I like my favourited rooms to be all visible at all times. (10 to be exact.) This is where I spend most of my time and where most of my communication takes place.

New Room List, always resets

The unnecessary “show less” item (with horizontal scroll bar?) just wastes additional vertical space. (There's already a bunch of issues regarding vertical density…)

When I now quit Element/Desktop and relaunch it again the sidebar is presented like this. Screen_Shot_2020-07-15_at_19_41_26

This now wastes so much vertical space that all my efforts to make the room list usable on a 15" laptop screen (in full height) are gone because Element autoresets them.

Element should always remember the exact room list panel setup and reproduce it exactly upon subsequent launches. Horizontally collapsing panels that cause also the already problematic vertical setup to also collapse cause a very bad user experience.

Basically it boils down to having to setup the room list over and over again, each and every time one launches Element.

Version information

For the desktop app:

turt2live commented 4 years ago

Duplicate of https://github.com/vector-im/riot-web/issues/14114

MacLemon commented 4 years ago

I disagree that these issues are about the same thing, though they sound similar.

14114 is about having the same setup across multiple clients/sessions as I understand it. For example when using Element on a Desktop and a Laptop and about synching settings between them.

This issue is about having the new room list not reappear as I set it up, across multiple launches of the same application and on the same machine and screen setup. It's about properly restoring application state on launch. For example restoring the same window position as it was when the application was quit. (This does work correctly.)

It's about properly restoring the state of collapsed and expanded panels, new room list, notifications sidebar, user list sidebar, etc. This is not done at all or only for a subset of the lists/panels/sidebars.

Their technical origin may be common across these issues. Please reopen this issue!

turt2live commented 4 years ago

@MacLemon can you send logs for when this happens please? I can't reproduce it.

MacLemon commented 4 years ago

If you cannot reproduce it, please try with a non-fullscreen window. I'm using a window which is 50% width of my 15.4" laptop screen.

Happened again when relaunching Element directly after updating from 1.7.0 to 1.7.1.

I guess this is Electron specific, not macOS specific and also depends on the window size.

I tried collecting logs two times now, but gave up after waiting 15 minutes each. (Usually this takes but a minute.) I cannot tell if logs were collected successfully and submitted or not. Element 1.7.1 is stuck at a spinner telling me “collecting logs”. Succeeded collecting and sending logs at the third attempt.

Here's a screenshot of how I have set up the new room list in Element 1.7.1 before quitting the application. Element 1 7 1 setup before quitting

This is how Element 1.7.1 comes back after launching it again. The new room list is collapsed, which it should not be. The sizes of the people section has grown by an arbitrary amount, etc. Element 1 7 1 setup after relaunching When I resize the new room list to be the width like before, all sections end up taller than before.

lampholder commented 4 years ago

I think this just happened to me on upgrading my electron instance on windows. Relaunched after the upgrade (triggered by accepting the upgrade prompt) and my roomlist came back in what seems to be the default configuration - ordered by activity for people, alphabet for rooms; preview off on both; show with unread first off for both.