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

Show warning message for enabling update checks with no-update config #4182

Merged
merged 2 commits into from
May 24, 2020

Conversation

Krzmbrzl
Copy link
Member

@Krzmbrzl Krzmbrzl commented May 17, 2020

If Mumble has been compiled with the no-update config flag, then the
auto-updates are deactivated by default. If a user wants to enable it in
the settings, a pop-up will be shown to the user explaining that the
update notifications are probably not meaningful (as the user is most
likely getting their Mumble updates from a package repository). This is
to prevent confusion of the user.

The popup looks like this:
Mumble_NoUpdate_WarningMessage

This is a followup addressing concerns voiced in #4138
@toby63 is this what you had in mind?

Krzmbrzl added 2 commits May 17, 2020 18:40
…ecks with no-update config

If Mumble has been compiled with the no-update config flag, then the
auto-updates are deactivated by default. If a user wants to enable it in
the settings, a pop-up will be shown to the user explaining that the
update notifications are probably not meaningful (as the user is most
likely getting their Mumble updates from a package repository). This is
to prevent confusion of the user.
Updating 'mumble_en.ts'...
    Found 1775 source text(s) (2 new and 1773 already existing)
@Krzmbrzl Krzmbrzl force-pushed the change-no-update-option branch from 62c7e93 to 04cefdb Compare May 17, 2020 16:40
@toby63
Copy link
Contributor

toby63 commented May 17, 2020

Yes looks good so far, but maybe we could improve it a little.
I will write more in the next days, but to point to a few things:

  • It's maybe a bit long
  • and "meaningless to you" might sound a bit confusing

I understand that you want it to apply to all cases, but in the end there are only three cases:

  • the package/repo/auto-update case
  • the self-compile case
  • the missunderstood-the-option case

@Krzmbrzl
Copy link
Member Author

the self-compile case

That's actually the same then as the "missunderstood-the-option case" as the no-update option is disabled by default.

I understand that you want it to apply to all cases

Yes because it'd be super confusing if e.g. someone distributed a Windows version with this and the warning was Linux-distro-specific xD

I will write more in the next days, but to point to a few things:

Looking forward to your suggestion 👀

@toby63
Copy link
Contributor

toby63 commented May 18, 2020

Another concept:

The provider/maintainer of your Mumble version decided to disable automatic update-checks.

This is most likely because you are using a version of mumble that is distributed via a third party (a Linux Distribution for example), so you will receive updates on their channels.
The update interval of your provider might be different from the official mumble release.

Enable this only if you want to be informed about the most recent versions of mumble provided by official mumble.
If you want to use a more recent version and your package provider does not offer this, you can use a different method of installation.
See the official mumble wiki for more information.

Yes because it'd be super confusing if e.g. someone distributed a Windows version with this and the warning was Linux-distro-specific xD

Well I know it is maybe a bit work, but couldn't you implement a check for the OS and then a slightly different message is shown?
Or you implement that later?

@Krzmbrzl
Copy link
Member Author

Well I know it is maybe a bit work, but couldn't you implement a check for the version and then a slightly different message is shown?

That's definitely possible but I don't think it's worth it at all. Especially right now as I struggle to even tend to everything going on on GitHub without even trying to implement stuff... I just don't have the time for that.
And that's definitely not something that I see to be so important as to keep the issue open until someone finds the time to do so.

Tl;DR: if someone does this in a PR, I'll happily merge it, but I don't have the time to do this kind of micro optimisation for such an edge case 🤷

@streaps
Copy link

streaps commented May 18, 2020

This is a good example why I was against changing the behaviour of no-update. It was a micro optimisation in itself and opened a can of worms ;)

@Krzmbrzl
Copy link
Member Author

Probably true @streaps - but imo with this PR in place I think it's a reasonable closure for this update stuff ^^

@streaps
Copy link

streaps commented May 19, 2020

Thinking more about it, I feel the pop-up is bad UX. First encouraging the user to check for updates and then telling them that it is most likely meaningless. With a pop-up that the user has to read and then close it to go back to the settings dialog. The user also has to remember that the next time they get an update notification (which is might be in a couple of months).

I understand the intention and I even liked the idea of the warning message at first, but I think it's more annoying than helpful.

I would propose to postpone that warning until there is a new release and the update notification appears. Then display a brief and kind message above or below (as a header or footer). I don't have a good idea, but something like:

"This Mumble version is updated by your (Linux) distribution or through other channels. New versions might not be immediately available." (or never ;-P).

It's also an option to not display any warning, if there are good update infos on the linked web page.

I know I had concerns about this behaviour, but I have bigger objections against a warning message that would pop up immediately. It's a bit like the parent who tells their child how stupid it is to decided something for themself and that they should know better. And it is an interaction that can be avoided.

That said, I still prefer the old behaviour ;).

@toby63
Copy link
Contributor

toby63 commented May 19, 2020

I agree with streaps at least in some points, I see a few better options than this warning:

  1. It's also an option to not display any warning, if there are good update infos on the linked web page.

This would be best indeed, the message itself should include better information.
And #3797 already suggests to change it to apply to various circumstances.

  1. Move the checkbox somewhere else, so it is not so visible for normal users.
    Like "Extended/Advanced options".
    And instead of a pop-up, add the description directly in the UI for example above the option.
    I have also seen this in other programs to explain "experimental options" for example.

  2. Revert the change in Don't hide the setting if no-update config was used #4138 (for now).
    You probably got more important things to focus on and this could be implemented properly some time later.

@Krzmbrzl
Copy link
Member Author

@toby63

Move the checkbox somewhere else, so it is not so visible for normal users.
Like "Extended/Advanced options".

No. We don't have advanced settings anymore and moving settings around based on whether it is enabled by default or not is really unnecessary.

And instead of a pop-up, add the description directly in the UI for example above the option.
I have also seen this in other programs to explain "experimental options" for example.

That'd be way harder to implement as we're using Qt's ui files for the basic interface and in there we can't use the preprocessor to decide whether or not include the text.

@streaps

First encouraging the user to check for updates

Where's any encouragement happening? If a user doesn't care about updates that user won't go into the settings and activate it...

The user also has to remember that the next time they get an update notification (which is might be in a couple of months).

Well they'll remember that really quickly if they wonder why they're not getting the update.

but I think it's more annoying than helpful.

Well it's a one-time event at the moment you decide to check that checkbox. After that you'll never see that popup again.

I would propose to postpone that warning until there is a new release and the update notification appears. Then display a brief and kind message above or below (as a header or footer). I don't have a good idea, but something like:

I'm pretty sure that'd be overlooked. Given that right now everything in the chat happens in the same tab, there's a lot going on and I think most users won't notice an additional text that states that the new update doesn't apply.

@Krzmbrzl Krzmbrzl merged commit 679578a into mumble-voip:master May 24, 2020
@Krzmbrzl Krzmbrzl deleted the change-no-update-option branch November 9, 2022 17:08
@Kissaki Kissaki added feature-request This issue or PR deals with a new feature and removed enhancement labels Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client feature-request This issue or PR deals with a new feature ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants