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
ephemeral: Patch to disable paid and native infobars #94626
Conversation
@rycee Will you take a look? |
dd72501
to
f5ba1b3
Compare
I'm not too sure about having this. I personally think it entirely fine to have these infobars, and don't they go away after first use? |
In the past we had issue with the stylesheet not being used on other platforms, but that got resolved cassidyjames/ephemeral#122 |
It appears that there's is some sort of a countdown: https://github.com/cassidyjames/ephemeral/blob/main/src/InfoBars/PaidInfoBar.vala I don't see a problem with including this patch as it is optional and users can choose to enable it if they're aware of the "warnings". If you want I can break the patch into two - one for each infobar. |
f5ba1b3
to
9908512
Compare
@flokli Do you have any take on this? |
I don't have any opinion on that, sorry. |
It seems to me that it should be OK to merge this. Since the patch is disabled by default I think that the intent of the Ephemeral developers is honored. The patch would only be enabled by conscious decision corresponding to the user consciously closing the bars within the application. So, unless any objection arises I will merge this in a few days (Aug 22 or 23). |
My main objections are that I'd have to maintain the patch (likely indefinitely) and there's actually better ways that we could handle this that upstream could accept. Is the issue here that the infobars appear after sometime instead of staying "dismissed"? TBH, the more expected behavior is that there is a key that would have the same of the infobars in it, and once that key gets added those values (by virtue of you dismissing it) it's stored that those infobars are viewed and they aren't shown again. But I can see for the developers that's not a good way to get payed for your work 😁 In the source code they should be shown once a month https://github.com/cassidyjames/ephemeral/blob/main/src/Application.vala#L33, I think that's incredibly reasonable. So I don't think I'd propose to the devs to "just please only show this once", but instead how about Let me know what you think so we could perhaps open an issue. My current disposition on this patch is to not accept it. |
@cassidyjames What do you think about the above? IMHO these infobars are fine to show and the duration is a very reasonable choice, but it seems maybe downstreams could configure it with a key that isn't shown in the UI? |
@worldofpeace Thanks for the nice response. Sounds fair to me. |
Motivation for this change
Ephemeral show an infobar if the program is running on another dist than ElementaryOS and also one if the program seems to be downloaded from github for free.
An optional patch is included to hide these warnings.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)