I use KDE Plasma, and much prefer the KDE color picker over the GTK one that Firefox uses, with input type=color.

I know that I can set GTK_USE_PORTAL=1 to make Firefox use the native file picker, is there a way to make it use the native color picker as well?

I know there probably isn’t a way, but I figured it’s worth a shot asking.

  • Nido@feddit.ch
    link
    fedilink
    arrow-up
    39
    ·
    1 year ago

    Entire Comment Section discussing the weird comment of @over_clox instead of OPs Question lmao.

      • spudwart@spudwart.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        1 year ago

        I solved the issue of Firefox not following my theme on KDE by abandoning Firefox and using Waterfox.

        Functionally identical in every way except Waterfox follows qt instead of gtk.

        It’s a stretch, I’ve never used waterfox’s color picker. But it may also use qt instead of gtk.

  • FreshLight@sh.itjust.works
    link
    fedilink
    arrow-up
    26
    ·
    1 year ago

    Excuse me for not answering the question but are you using the color picker in Firefox really that frequently?

    I would just choose a nice color with the picker of my choice and paste the hex-code / type the RGB in the custom panel of the default FF color picker and that’s it.

    • Moxvallix@sopuli.xyzOP
      link
      fedilink
      English
      arrow-up
      27
      ·
      1 year ago

      Not really. I just like tinkering, and customising things, and I wanted to see if I could.

      • FreshLight@sh.itjust.works
        link
        fedilink
        arrow-up
        9
        ·
        edit-2
        1 year ago

        Ah, I see! In that case I can completely understand your intention.

        Edit:

        I feel like the guy on Stack Overflow who says something like “That’s bad practice, why would you do that?” and then the thread is closed.

        And people who google how to solve a certain problem and get to the SO page never get to know the answer that would be relevant.

      • Teon@kbin.social
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        I’m not a dev, but I’m wondering if the ‘Plasma Browser Integration’ package has any influence on the picker? Or maybe there are GTK app settings in play.
        Just a thought.
        It really annoys me that Firefox is not more integrated in KDE than it is.

        • Moxvallix@sopuli.xyzOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          I have the plasma browser integration. It adds an item to “Share” in the context menu (for use with KDEconnect etc) and integrates Firefox with the media player.

          • Redjard@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            Media integration should be done via mpris which ff does natively now, so that’s no longer done by the plasma addon

      • XTornado@lemmy.ml
        link
        fedilink
        arrow-up
        8
        ·
        1 year ago

        Oh ok that makes sense I guess I don’t usually use anything like that… Plus I was thinking of the browser itself using it for something…

    • Moxvallix@sopuli.xyzOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      It pops up whenever a KDE application offers colour selection. Easiest way is probably to open settings to Appearance > Colors and click the Custom button.

      Falkon also uses it with input type=color which is why the screenshot says Falkon in it.

  • Bleeping Lobster@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    It’s a bit of a PITA. If you’re after a proper dark mode, there’s an addon called ‘Dark Reader’ which works very well.