Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discussion] Behavior of parts of the main menu #15545

Open
siliconsniffer opened this issue Dec 13, 2024 · 4 comments · May be fixed by #15736
Open

[Discussion] Behavior of parts of the main menu #15545

siliconsniffer opened this issue Dec 13, 2024 · 4 comments · May be fixed by #15736
Labels
Discussion Issues meant for discussion of one or more proposals Feature request Issues that request the addition or enhancement of a feature Low priority @ Mainmenu

Comments

@siliconsniffer
Copy link
Contributor

Problem

I would like to discuss a few but mainly the following behaviors of the main menu:

  • the selection when the selected server gets removed
  • the selection when the search field gets cleared
  • adding a sever to favorites when joining

Feel free to add more points to the discussion!

Solutions

I personally would prefer some way to customize these behaviors maybe in a section somewhere in the advanced settings or some sort of "quick settings" directly in the main menu.

For the behaviors themselves I suggest:

  • select the server above the currently selected when you remove it
  • clearing the search field should select the previous selected one again
  • for me it feels unnecessary adding every server you join to the favorites

For the first point I've already had some discussions with a few people - as far as I can tell most either prefer the suggested behavior or don't care.

Alternatives

Leave it like it is or "hardcode" new behaviors.

Additional context

No response

@siliconsniffer siliconsniffer added the Feature request Issues that request the addition or enhancement of a feature label Dec 13, 2024
@appgurueu
Copy link
Contributor

My opinion on such GUI "taste" decisions: If a behavior is a major annoyance (for a significant group of users), then that should be changed to a behavior everyone can live with. If there are groups with conflicting major annoyances, a setting is needed. A good example would probably be the setting for smooth scrolling.

If the current behavior is acceptable, do nothing. It's (1) likely too low priority to be worth the bother and (2) we don't want settings bloat for such minor things.

Is any of the current behavior unacceptable? If so, why?

@appgurueu appgurueu added Low priority @ Mainmenu Discussion Issues meant for discussion of one or more proposals labels Dec 13, 2024
@siliconsniffer
Copy link
Contributor Author

siliconsniffer commented Dec 15, 2024

For me the second point feels more like a bug than an annoyance, having the first result still selected after clearing the search bar sounds wrong to me. Take a file explorer as an example, when you search for something but don't find it you also wouldn't want to still have the first result selected because that's not what you were looking for.

The third point was mentioned in some PR or issue already. I can't tell which opinion prevails here but this might be something where there are major groups for either behavior.

My first point is probably the least important one, personally I'd like to change it to that because I find it utterly annoying to still have the server selected when I really wanted to "get rid of it".

@siliconsniffer
Copy link
Contributor Author

Searching seems broken, noticed by just searching "test".

Current master:
image
5.10
image

Interestingly both the master and the 5.10 build change the address etc. to this server and because the current master build tries to match address etc. it also visually selects this server.

Another example:
Current master:
image
5.10:
image

In both cases the dev build correctly selected the server that matches the address and description etc. but in my eyes the most intuitive behavior would look something like this:

  • the selection is kept - if the selected server is among the search results it will get selected
  • if its not then select nothing, the user should select the right server
  • clearing the search bar should lead to the selection being set to the "pre-search" selection, joining a server should set the new selection
  • marking a server should also set the selection to that server (maybe?)

The current behavior looks wrong to me, selecting a server at the bottom of the list that I can't even join doesn't sound useful to me.

@appgurueu
Copy link
Contributor

[server selection after] Searching seems broken, noticed by just searching "test".

Can reproduce. The issue is that an incompatible server is considered the "first" result. Ideally the "first" of the compatible servers should be selected but that frankly isn't very useful either.

Should be relatively trivial to address: Just remove the line that intentionally causes this behavior:

set_selected_server(menudata.search_result[1])

This might be fine to address during feature freeze, the current behavior is at least sometimes clearly "buggy".

@siliconsniffer siliconsniffer linked a pull request Jan 30, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Issues meant for discussion of one or more proposals Feature request Issues that request the addition or enhancement of a feature Low priority @ Mainmenu
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants