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
Use the default server name in the mixer #2173
Use the default server name in the mixer #2173
Conversation
Awaiting this over on https://github.com/pljones/jamulus
|
How/where is AT_DEFAULT set? Also: shouldn’t we rename the directory server at any genre to match your label? |
Not given this is for an edge case, I don't think. I'm only changing it from what it was so it's clearer you're not necessarily somewhere related to what you were looking at. |
Hmm. I think the main problem is that connecting to the Any Genre 1 directory while being in Any Genre 2 or similar is the confusing part. And this can't be fixed with this (rather visual) approach. OFC, it's much better with your approach, but I think we should rather change functionality of this button if we're in another genre... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although untested, the code looks simple enough to approve.
BTW: Thanks for the "next big thing" work on Jamulus. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tried this out and it works fine, so I'm happy to approve, as it doesn't change existing functionality.
But I do think the existing functionality is wrong. An improvement would be to connect to the directory server of the currently-displayed list, but I think the right behaviour going forward would be: if no server in the list is selected, AND the server address box is blank, the Connect button is disabled.
Yes, it's a bit weird now, the way it is. (Before multiple servers, it just connected to Volker's server, of course, which sort of made sense.) I'd like to have "Escape" work on the connect dialog along with getting rid of this "default" behavour, too. (There was a patch to turn off "Escape" on all the dialogs - I'm not entirely sure why...) |
Short description of changes
Edge-case for user using no server details and clicking "connect" from the connect window. They could be looking at any of the directories when they hit connect. For example:
Hitting "Connect" used to title the mixer "Directory Server" (or translation). Now it titles it with the default directory name as more of a clue:
Does this change need documentation? What needs to be documented and how?
No.
Translations needed.
Status of this Pull Request
Working as expected.
What is missing until this pull request can be merged?
Should just work (except for translations changing).
Checklist