I spent the morning trying to work out why all the Electron applications on my desktop (vscodium, the Signal client …) were once-a-fuc•ing-gain showing me clunky, foreign file-open and file-save dialogues (presumably from gtk) instead of correctly showing KDE’s dialogues via the very-cursed XDG-desktop-portal mechanism.

I’m on Gentoo. Had I, perhaps, broken something?

Nope. It’s just yet another regression up-stream, in Electron:

Once again, despite knowing that nobody has support for something because that thing has not been released as stable at all, yet, the whole Electron stack follows the belief that it’s perfectly OK to release a change that depends on that thing and, without it, breaks every KDE user’s desktop integration.

Then they blame it on xdg-desktop-portal not having released, yet. And won’t roll the change back because December is their “quiet month” – neither will they fix it nor make a work-around, seemingly.

Anyway. Writing this post has served to exhaust my ire. One day, we’ll see the back of Electron for good – I can only hope!

Let it also serve as a PSA: don’t bother trying to work out if you’ve accidentally broken something on your Linux desktop – particularly if you’re on Gentoo, Arch, Slackware or other hacker-friendly distribution. It’s not you. It’s not your system. It’s just fuc•ing Electron – again!

  • To lighten the mood, here’s a screenshot of one of the lowest points I achieved while hacking away, trying to resolve the issue: comedic relief screenshot What even is going on, there?

    • pixelated menu
    • “Cancel” button at the top left??
    • “Open” button at the top right??
    • clearly Adwaita but not actually Adwaita as configured – the VSCodium window (behind) shows how Adwaita is actually configured on my system and that’s how all native gtk applications actually draw.
    • macniel@feddit.org
      link
      fedilink
      arrow-up
      4
      ·
      3 days ago

      But isn’t that the new gtk adwaita file chooser? I kinda dislike how those action buttons in dialogs are in the headerbar now but that’s now just how it is.

      See Gimp 3.0.

      • Fisch@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 days ago

        The new Gnome file chooser is part of Gnome’s Files app and I doubt OP has that installed when they’re using KDE Plasma. Aside from that, I’m also pretty sure this is the default GTK file chooser (so the old one) from the way it looks. For context, I use Gnome.