app-center icon indicating copy to clipboard operation
app-center copied to clipboard

Display a warning :warning: when the user tries to install an app on a wrong DE?

Open Feichtmeier opened this issue 2 years ago β€’ 19 comments

Our store shows all kinds of apps. That's nice. On android and windows you usually do not have this situation where you might install an application for windows-flavor-DE-xyz, right? Same on Android or IOS. We got @d-loose session manager dart lib we could use to check on which DE the user is running the store and then eventually show some kind of soft warning that this piece of software does not break his system but simply does not make it any better?

This is a perfect example: grafik

It's some kind of addon for KDE I think. This does not have any real usage on GNOME (the desktop environment ubuntu uses) but is a lot of dependencies being pulled (MB) for nothing.

@anasereijo @madsrh WDYT?

Feichtmeier avatar Jan 19 '23 11:01 Feichtmeier

Imo, it would be a great feature for all of us!

Jupi007 avatar Jan 19 '23 12:01 Jupi007

I literary had the exact same thought yesterday! πŸ‘ Some users will want to do this, even if it comes with a lot of dependencies. If you're a Kdenlive user, what can you do 😸

Could simply add a small "warning" to the dependencies popup? I have no idea about the wording.

Also, although they just seen the AppPage, we could remind them that there's also a snap available (if there is ofc) πŸ€·β€β™‚οΈ

madsrh avatar Jan 19 '23 13:01 madsrh

I literary had the exact same thought yesterday! πŸ‘ Some users will want to do this, even if it comes with a lot of dependencies. If you're a Kdenlive user, what can you do 😸

Could simply add a small "warning" to the dependencies popup? I have no idea about the wording.

Also, although they just seen the AppPage, we could remind them that there's also a snap available (if there is ofc) πŸ€·β€β™‚οΈ

I think this warning should be independent to the AppFormat. Sure it's a lot easier and safer to remove KDE apps with snaps but it's still unusable in this example without the KDE desktop here.

Feichtmeier avatar Jan 19 '23 14:01 Feichtmeier

What if we get a pop up when the user clicks install? That comes with the double effort of having to click twice to install the package, though. Would that be very annoying?

anasereijo avatar Jan 19 '23 14:01 anasereijo

Could it cause any problems in the system?

anasereijo avatar Jan 19 '23 15:01 anasereijo

Could it cause any problems in the system?

Snaps definitely not. I don't know about KDE debian packages though. As they pull in a lot of dependencies. I don't know if any KDE components can leak into the gnome session. Did anyone try this madness yet? :laughing: @madsrh @Jupi007 ?

But it def. is totally useless in gnome shell. I don't think we need a "stuff will break" warning. BUt maybe a softer notice / info "This software component is designed for KDE. It has no affect on you GNOME shell based system but takes XXX disk space without any effect"

Feichtmeier avatar Jan 20 '23 10:01 Feichtmeier

The last time I installed a KDE app on my Gnome desktop... it has replaced the plymouth theme, login screen, and I had so so many KDE apps installed in addition. The app menu was such a mess. I remember I had formatted the computer, after try during hours to undo all these changes πŸ˜…

Could it cause any problems in the system?

So I don't think it would broke your system (whatever...). But your computer will never be the same again.

Jupi007 avatar Jan 20 '23 10:01 Jupi007

BUt maybe a softer notice / info "This software component is designed for KDE.

Yes! πŸ‘

Too dramatic? image

Because this will be a hugely popular software store, it will be running on all kinds of desktop environments in the future, so if there's a KDE warning, should we also plan for a Gnome warning?

image

madsrh avatar Jan 20 '23 16:01 madsrh

Yes there should also be a gnome warning IMO

Feichtmeier avatar Jan 20 '23 16:01 Feichtmeier

Sorry for the late reply, trying to catch up on everything. So, if I understand correctly, we can have this kind of 'issue' just with Deb packages but not snaps, right? I like @madsrh's idea, but wondering that if we need to display it on Snaps as well we have to design another pop-up for it.

anasereijo avatar Jan 20 '23 21:01 anasereijo

@madsrh I was wondering if it's too dramatic using the icon or not, as this apparently won't necessarily break anything. However, it can be quite disruptive for the user after install it and takes much disk space. That said, I don't think it's that dramatic having the icon. The only dramatic thing I see, it's the size of it πŸ˜… Is this the Yaru icon size? Could we make it smaller? What do you think?

anasereijo avatar Jan 20 '23 21:01 anasereijo

Well the problem with installing a deb package from another environment are the dependencies, which you can't remove as simple as you installed them. Snaps doesn't have this problem, because they bundle everything, and you can remove it in one click, as simple as you installed it.

And I really think that display a warning icon is appropriated because install that kind of package can be very problematic! About the icon size, yaru icons can be resized at any size you want :)

Jupi007 avatar Jan 20 '23 21:01 Jupi007

Well the problem with installing a deb package from another environment are the dependencies, which you can't remove as simple as you installed them. Snaps doesn't have this problem, because they bundle everything, and you can remove it in one click, as simple as you installed it.

And I really think that display a warning icon is appropriated because install that kind of package can be very problematic! About the icon size, yaru icons can be resized at any size you want :)

Makes sense! Thanks for clarifying it for me :)

anasereijo avatar Jan 20 '23 21:01 anasereijo

Maybe this is something for user testing? I can't say how most people would react to this. I personally like my gnome like I like my desk, clean and full of beer 🍺

Feichtmeier avatar Jan 20 '23 21:01 Feichtmeier

Maybe this is something for user testing? I can't say how most people would react to this. I personally like my gnome like I like my desk, clean and full of beer 🍺

😁 This is a really good thing to test indeed! Let’s take a note of that and forward it to Martin (the user researcher).

anasereijo avatar Jan 20 '23 21:01 anasereijo

I was wondering if it's too dramatic using the icon...

Something less dramatic, would be to use the information icon πŸ€·β€β™‚οΈ image

madsrh avatar Jan 20 '23 21:01 madsrh

I was wondering if it's too dramatic using the icon...

Something less dramatic, would be to use the information icon πŸ€·β€β™‚οΈ image

I think the other icon works well. Can we make it smaller, similar to the font size? I can mock up something if needed

anasereijo avatar Jan 20 '23 21:01 anasereijo

@anasereijo for user testing, do we need to have this in a snap channel?

Feichtmeier avatar Jan 27 '23 10:01 Feichtmeier

@anasereijo for user testing, do we need to have this in a snap channel?

That would be easier to test, if possible! :) thanks

anasereijo avatar Jan 27 '23 10:01 anasereijo