Originally posted by bug77
View Post
Announcement
Collapse
No announcement yet.
KDE Support For Flatpak Portals Progressing
Collapse
X
-
Michael Larabel
https://www.michaellarabel.com/
- Likes 3
-
Originally posted by Michael View Post
No, it's not DE-specific packaging. It's a matter of basically implementing the same APIs for the respective desktop... So when running a Flatpak on KDE, the Qt file chooser will come up rather than opening up a GTK/GNOME file chooser, etc.
Comment
-
Originally posted by quikee View Post
xdg-desktop-portal-gtk and xdg-desktop-portal-kde are backend implementations of the xdg-desktop-portal DBus interfaces - so you will need only one, depending on your DE..
Comment
-
I must say that I don't see why this currently depends on Flatpak (it should be the other way around: Flatpak depending on Portals) - it should work with any container technology (like whatever snaps uses) or even without any containers at all (to not need to code it twice and just use a common API). Or does it depend on Flatpak just because it is distributed that way currently?
- Likes 1
Comment
-
There seem to be three distinct types of sandboxing with varying levels of distro support:- Untrusted - a system for bundling untrusted code into a package and running it in isolation - e.g. flatpak, snappy, android apks.
- Trusted - security profiles to enforce the principle of least privilege in system software - e.g. selinux, apparmor.
- Ad-hoc - support for creating (possibly nested) environments with a customisable level of isolation - e.g. subuser.
Ironically, Arch doesn't allow you to do any of them.
Comment
-
Originally posted by Griffin View PostIt is always nice to see the lesser desktops babystep the road paved by RH/Gnome. Be it Gstreamer, Wayland, Vulkan, Flatpak or packaging.
Look, ma. I can do it too!
(Seriously, though, "road paved by" is a very "glass house"-y way to criticize KDE, given that GNOME began as a "with beer and hookers" response to Qt's original non-libre license and has had a long history of having trouble shaking the bugs out of their knock-offs of KDE technologies. It wasn't until around the KDE 4 era that GnomeVFS stopped being crash-happy and D-Bus replaced the CORBA monstrosity they were using to compete with DCOP.)
Now Canonical should just stop making a mess of GTK+ APIs that KDE then has to fix.
Seriously, though. Do you know why so many users force-disable appindicator support in their applications? It's because libindicator forces the context menu to be the primary (left-click) action and most developers don't even realize you can bind "toggle hide/show" as a secondary because Unity maps primary to left and right click, consigning secondary to middle-click.
KStatusNotifierItem fixed it by letting the developer decide and, as a result, people often mistakenly conclude that libindicator is a crippled implementation of an API KDE invented, rather than KStatusNotifierItem coming second and omitting the artificial restriction on what callbacks can be bound to which D-Bus signals.
Comment
-
Originally posted by ssokolow View PostKStatusNotifierItem fixed it by letting the developer decide and, as a result, people often mistakenly conclude that libindicator is a crippled implementation of an API KDE invented, rather than KStatusNotifierItem coming second and omitting the artificial restriction on what callbacks can be bound to which D-Bus signals.
KDE developer Aurlien Gateau was back then employed by Canonical. He worked on Kubuntu and later the first Qt port of Unity. He was the one who lobbied for SNI adoption in Ubuntu. Because of his role as both KDE developer and Canonical employee, he then connected both teams and there was some cross-pollination on the specifications. IIRC dbusmenu was Canonical's influence.
Comment
-
Originally posted by Awesomeness View Post
What the fuck are you talking about? StatusNotifier was invented by KDE and App Indicator came second. Even https://launchpad.net/libappindicator says it right in the description: “Based on KSNI” [KSNI=KStatusNotifierItem]
KDE developer Aurlien Gateau was back then employed by Canonical. He worked on Kubuntu and later the first Qt port of Unity. He was the one who lobbied for SNI adoption in Ubuntu. Because of his role as both KDE developer and Canonical employee, he then connected both teams and there was some cross-pollination on the specifications. IIRC dbusmenu was Canonical's influence.
...I guess that's one more case of "while I don't like how unapologetically sloppy they get whenever they bump the major version number, KDE continues to innovate in a direction I like."
Comment
Comment