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
    link
    fedilink
    407 months ago

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

      • @spudwart@spudwart.com
        link
        fedilink
        English
        6
        edit-2
        7 months 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.

        • MoxvallixOP
          link
          fedilink
          English
          47 months ago

          Just tried it. Same colour picker as Firefox unfortunately.

    • Neshura
      link
      fedilink
      English
      157 months ago

      I’m even more intrigued by their idea for a “good” color picker. From the way they describe it it just sounds like a UX nightmare

    • AnonTwo
      link
      fedilink
      47 months ago

      I did try to find something last night but couldn’t find anything unfortunately :(

  • FreshLight
    link
    fedilink
    227 months 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.

    • MoxvallixOP
      link
      fedilink
      English
      277 months ago

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

      • FreshLight
        link
        fedilink
        9
        edit-2
        7 months 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
        link
        fedilink
        37 months 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.

        • MoxvallixOP
          link
          fedilink
          English
          27 months 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
            link
            fedilink
            27 months ago

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

  • @XTornado
    link
    187 months ago

    I didn’t even know there was a color picker in Firefox !? What it is used for?

    • MoxvallixOP
      link
      fedilink
      English
      217 months ago

      The color type form input. It’s a HTML standard, all modern browsers have it.

      • @XTornado
        link
        87 months 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…

  • IHeartBadCode
    link
    fedilink
    187 months ago

    In about:config see if setting widget.use-xdg-desktop-portal to true does anything for you.

    • MoxvallixOP
      link
      fedilink
      English
      137 months ago

      Hmm, it appears it already is set to true. Unfortunately that doesn’t seem to work.

    • MoxvallixOP
      link
      fedilink
      English
      97 months 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
    link
    fedilink
    English
    -137 months 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.

  • @over_clox@lemmy.world
    link
    fedilink
    -84
    edit-2
    7 months ago

    Are you kidding me? You mean the KDE Color Picker is basically an exact rip of the Windows Color Picker?

    😂🤣

    Edit: Look up the screenshots, I’m not in the least bit joking. That’s an exact clone color picker to Win9X.

    KDE couldn’t be even marginally original?

    • MoxvallixOP
      link
      fedilink
      English
      457 months ago

      And…? So what, if a design works, a design works. This is a colour picker.

      • @Moonrise2473@feddit.it
        link
        fedilink
        147 months ago

        IMHO a better design would be a mix between the two.

        The left one has much better color palettes. Bigger, with a much nicer color selection than just “neon colors” on the right one. But without a color selector/slider it’s unusable for advanced users. Should have an expandable panel with the hue sliders. And a color picker if I want to take it from somewhere else in the screen

        • @SnipingNinja@slrpnk.net
          link
          fedilink
          17 months ago

          I can’t check at the moment but Firefox one has the custom field, so probably you need to add a custom colour to access those inputs

      • @over_clox@lemmy.world
        link
        fedilink
        -347 months ago

        Isn’t the purpose of Linux to actually step away from Windows, not copy it practically verbatim from 1993?

        • andrew
          link
          fedilink
          English
          227 months ago

          The purpose of Linux is to be a free and open source OS kernel on top of which free and open source software can provide whatever user experience they want to provide and users are free to pick one.

          • @over_clox@lemmy.world
            link
            fedilink
            -237 months ago

            But they’re not free to literally copy an existing interface from a big $$$ corporation…

            Again, I use text based input as the main interface. Not RGB. Not HSL. I literally name my colors with text.

            Want human flesh, type “human flesh”, not some unintuitive #RRGGBB crap.

            • @Sethayy@sh.itjust.works
              link
              fedilink
              167 months ago

              I’ve read a lot of youre comments trying to understand youre meaning here, but are you trying to say you want to represent all 16 million colors of a 24 bit color?

              And also somehow in a way that not extremely subjective to the user?

              Ngl I’d love to see this as a product, and definitely keep me updated if this software ever has a usable demo

            • @ReakDuck
              link
              5
              edit-2
              7 months ago

              Windows 11 Desktop is partly a copy from Linux, so why should companies be allowed but free projects not?

              They even introduced ssh into Windows preinstalled.

        • MoxvallixOP
          link
          fedilink
          English
          197 months ago

          No. The purpose of Linux is to provide a free and open source operating system, that can be customised by yourself and the community to your liking.

          I like KDE’s colour picker. It seems I would like the Windows one as well. It’s a good design. Linux doesn’t exist to be contrary, it exists to be a customisable, open experience.

        • IHeartBadCode
          link
          fedilink
          187 months ago

          Do you actually use Linux? The purpose of FOSS is to make it whatever you want it to be. It can be a step away, a step towards, a step multiple by the square root of negative one to MS Windows. The entire point is that you get to dictate the path you want to take.

        • AnonTwo
          link
          fedilink
          87 months ago

          Only for people who joined Linux because they’re spiteful of Windows?

      • @over_clox@lemmy.world
        link
        fedilink
        -347 months ago

        I know. I wrote Color Painter, which also comes with its own very unique color picker.

        My design works. My design is also extremely unique. I didn’t rip off an existing design.

        • MoxvallixOP
          link
          fedilink
          English
          337 months ago

          Ok? My point is that it really doesn’t matter. A colour picker doesn’t have to be unique.

          • @over_clox@lemmy.world
            link
            fedilink
            -317 months ago

            Unless they wanna avoid potential copyright violations…

            My Color Painter and Color Picker software are protected by basic copyright laws, and have nothing similar to common existing interfaces.

            That KDE color picker, I’m literally looking at exactly the same interface in Windows 3.11 right now. Huge ripoff, nothing original.

            • IHeartBadCode
              link
              fedilink
              207 months ago

              Huge ripoff, nothing special

              Okay then don’t use it. The entire point of KDE is to provide a traditional desktop metaphor that windows users find friendly.

              And if you’re especially irked, KDE like most FOSS is somewhat community driven, so be the change you desire if that’s your kind of thing. Or don’t do anything but complain. You’re completely free to do whatever.

              But that said, you may perhaps be making a mountain out of a molehill, especially UI elements that if MS wanted to cite copyright, they would have done it long time ago. This has been the default color picker for KDE since the 2.x days.

              • @over_clox@lemmy.world
                link
                fedilink
                -237 months ago

                This has also been the default color picker since Win311/Win95 days. Does this mean people want to backtrack on technology?

                • IHeartBadCode
                  link
                  fedilink
                  187 months ago

                  If that’s what they want who am I to tell them no? The point of open software is to be what the user wants. Why is any particular opinion more correct than another within a group that prides itself on giving users choice.

                  If KColorPicker isn’t someone’s cup of tea, there is nothing stopping anyone from changing that default out. The color picker that appears is a user setting.

                • MoxvallixOP
                  link
                  fedilink
                  English
                  147 months ago

                  If it’s such a problem for you, and you are obviously a colour picker expert, why don’t you make KDE a new colour picker. I’m sure the community would appreciate a new and innovative colour picker, if it’s genuinely better than the Windows style one.

        • AnonTwo
          link
          fedilink
          87 months ago

          Okay so…which of the things in the picture or discussion is color painter?

          Is it in any way related to KDE Color Picker?

          I feel like of all the things you’ve said so far, all of which have only tried to discourage the OP to get an answer, and not actually answer their question.

          • @over_clox@lemmy.world
            link
            fedilink
            -197 months ago

            I’m calling out KDE for ripping off the Windows Color Picker. Not mad at OP directly, but still, might as well go back to Windows if that’s your preferred color picker.

            • MoxvallixOP
              link
              fedilink
              English
              207 months ago

              But why would I go to Windows, if KDE has the same colour picker? Literally an argument for me staying is that the colour picker is identical, so not worth switching for the colour picker (which I really don’t care about when it comes to choosing a desktop).

              All I wanted was to see if anyone knew of a way to allow Firefox to use my desktop environment’s colour picker. I don’t care if the design is “stolen” from Windows, and I doubt Microsoft cares either. You really have picked a very obscure, and rather stupid hill to die on.

              Sorry for being harsh, I’m just frustrated that the discussion here is about KDE’s colour picker design, and not about customising Firefox, which is what I asked about.

              • @over_clox@lemmy.world
                link
                fedilink
                -157 months ago

                I apologize for being harsh as well, but that old Win311 style color picker came from the 16 bit days. You wanna rewrite it in 64 bit?

                • MoxvallixOP
                  link
                  fedilink
                  English
                  177 months ago

                  Hang on… you don’t think they are literally the same program right?

                  The KDE colour picker is a different program that just looks like the Windows one. KDE’s colour picker isn’t “16 bit”.

              • @over_clox@lemmy.world
                link
                fedilink
                -107 months ago

                It’s also the truth. Brutal truth no less, they ripped off the color picker from the Win311/95 era, with no concept on an updated GUI, they just carbon copied M$…

                • Nyfure
                  link
                  fedilink
                  117 months ago

                  Feel free to submit a change if it bothers you that much…
                  Wait… yes? You dont want to? You just want to complain?
                  Ok then.

                • AnonTwo
                  link
                  fedilink
                  47 months ago

                  It’s also something nobody asked, if we’re talking brutal truths

            • @xigoi@lemmy.sdf.org
              link
              fedilink
              127 months ago

              Can you imagine that someone can like some aspects of an operating system without liking the whole of it?

            • Nido
              link
              fedilink
              107 months ago

              Considering the History of Windwows stealing KDE Features/ Designs i bet the KDE Color Picker was there first 😜

          • @over_clox@lemmy.world
            link
            fedilink
            -217 months ago

            It’s an experimental graphics editor I wrote from the ground up, to search and process colors by name instead of looking at a bunch of RGB/HSL numbers that make almost no sense to natural artists.

            • Neshura
              link
              fedilink
              English
              9
              edit-2
              7 months ago

              search and process colors by name instead of looking at a bunch of RGB/HSL numbers that make almost no sense to natural artists.

              unless you tell them which company’s color codes you used to match the names to rgb values this will be more useless to artists than rgb colors without a color preview. Text based colors are purely subjective and you’ll be hard pressed to find two companies using the same name for the exact same color mix (you will find companies selling paint under the same name but it sure as hell won’t look the same). The closest you’ll get are the css default colors but that’s a pretty limited selection of colors so with your genius text input method you’d still need a couple of sliders to get the entire color spectrum.

              Your idea has merit but not for artists. Casual people would benefit a lot more from it, because they won’t have to struggle finding the correct color for what they want most of the time. But even just hobby digital artists will spend more time wrangling with your text input than they would just hand picking the rgb values, never mind professional digital artists who probably don’t even think in named colors anymore and just think of the rgb ranges they want instead.

    • @LittleEndu@lemm.ee
      link
      fedilink
      357 months ago

      Heaven forbid someone put hue on x axis and saturation on y axis and have a separate slider for value and allow you to manually input and allows you to save your favourites in a color picker they made.

      • @over_clox@lemmy.world
        link
        fedilink
        -347 months ago

        Please read my other comments. I put a literal text axis on my color picker. You know, like you want red, you type “red”…

        Don’t none of the rest of them do that.

        Prove me wrong.

          • @over_clox@lemmy.world
            link
            fedilink
            -257 months ago

            Yes, there are descriptive words as well, like fire red, flesh red, plant red…

            You think I wouldn’t put some thought into some common sense words?

            • @ChristianWS@lemmy.eco.br
              link
              fedilink
              27 months ago

              How do you plan to deal with translations? Cause not every descriptive word is translatable, some languages have words to refer to two shades, while another has only one word and both shades are culturally perceived as a single shade.

              • @over_clox@lemmy.world
                link
                fedilink
                07 months ago

                Honestly I don’t know exactly how I would deal with that in the long run. I really appreciate you for asking though.

                I’ve done research into this very topic, and have learned that some languages do not include a word for ‘pink’, but rather a descriptive form for ‘light red’. I’m sure there are numerous other examples of translation issues.

                Unfortunately I am not a multilingual programmer, so honestly I would need some help trying to make it work ideally with other languages.

                I do thank you for asking this very question, as it indeed is a complication I would need help with… ☹️

                • @ChristianWS@lemmy.eco.br
                  link
                  fedilink
                  27 months ago

                  You are being rather ambiguous with how your program works, which I understand. But if the primary way of selecting colors is through words then that is big issue that I feel can’t be made to work outside of English.

                  If the selection is more “traditional”, like a color wheel or whatnot, and the text is just a description (I think coolors does this) then it might be translatable.

                  Like, the issue with “pink” being “light red” is that you can’t actually select pink and a lighter shade of red if the selection is through text. If the selection isn’t text based then you can just have two colors being “light red” cause it is true anyway