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
rambox: allow user to disable tooltips #32741
Conversation
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.
/cc @yegortimoshenko
Initially I though that disableDonationTooltip
would be a better name, but it seems that the developer may choose to show any tooltip (at https://tooltip.io/), so this option indeed disables the tooltip player rather than just donation tooltips.
Given circumstances, I think this should be Also I don't like the remote aspect of it.
Also upstream closed my request to provide an option to disable updates (with a partial patch) seemingly without much consideration...
Yes, it's the same tooltip that the developer uses to notify about Rambox updates, if I remember correctly, which is problematic by itself since we handle package updates ourselves.
|
@yegortimoshenko Switched to true, thanks. That's not the first time we have such issue https://github.com/saenzramiro/rambox/issues/414
Yes, that's bad. |
Also https://github.com/saenzramiro/rambox/issues/1030#issuecomment-335478065
Never seen any important tooltip from them for years. |
It seems unfair to deny the developer the chance to display their popup at least once to the new users, especially the donation popup. In general I have nothing against apps that display one popup on each startup (which was typical of shareware apps), and I would not want to disable this popup by default even if upstream admitted that they want to display it to every user on every startup. The two options I see are (1) disable the popup with a comment "enable with the update to 0.5.14 to reevaluate" or "enable when upstream closes issue number X", or (2) provide the version without popup under a different attribute, e.g. |
@orivej I've put it back. There is not much reason to complicate things. |
I agree.
The problem here is that there is a way to disable popups in a shareware program: pay for it. In this case even users who have paid still get that popup on each launch. I don't think that's fair, because the expectation is that it will go away. Also, using a service to show tooltips is inherently problematic: it means it can be remotely controlled at any time, and it might show information that we don't necessarily want to show to our users, like new version notifications. Developer has already closed the issue with this request (saenzramiro/rambox#414), saying he'd look for an alternative. I agree that it might be morally questionable to disable tooltip.io, and I agree with @gnidorah that it would be easier to just leave it as it is by default. Also, I don't use Rambox, I've only helped to package it, so I'm not affected either way :-) |
It is easy to reproduce by focusing and defocusing Rambox window, occasionally resizing it. The window becomes white when this is printed to the console:
|
Electron was recently updated (680f3ad), that's probably what's causing the issue. |
@orivej @yegortimoshenko Ah, thanks much! |
1.7.9 is the latest stable, and 1.8.1 is beta and it draws `rambox` as a white rectangle (after a few manipulations with the window such as hiding, showing, resizing): NixOS#32741 (comment)
Motivation for this change
Rambox now annoys user with donate banner on every launch no matter which button is used to close tooltip, so add an option to disable tooltips, since developer doesn't want to provide tooltip disabling option.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)