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
    40
    ·
    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
        3
        ·
        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.

    • Neshura@bookwormstory.social
      link
      fedilink
      English
      arrow-up
      15
      ·
      1 year 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

  • FreshLight@sh.itjust.works
    link
    fedilink
    arrow-up
    26
    arrow-down
    4
    ·
    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
    19
    arrow-down
    1
    ·
    1 year ago

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

      • 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
    arrow-down
    14
    ·
    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.

  • over_clox@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    86
    ·
    edit-2
    1 year 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?

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

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

      • Moonrise2473@feddit.it
        link
        fedilink
        arrow-up
        15
        arrow-down
        1
        ·
        1 year 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
          arrow-up
          1
          ·
          1 year 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
        arrow-up
        2
        arrow-down
        36
        ·
        1 year 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.

        • Moxvallix@sopuli.xyzOP
          link
          fedilink
          English
          arrow-up
          34
          arrow-down
          1
          ·
          1 year 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
            arrow-up
            2
            arrow-down
            33
            ·
            1 year 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@kbin.social
              link
              fedilink
              arrow-up
              20
              ·
              1 year 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
                arrow-up
                1
                arrow-down
                24
                ·
                1 year ago

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

                • IHeartBadCode@kbin.social
                  link
                  fedilink
                  arrow-up
                  18
                  ·
                  1 year 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.

                • Moxvallix@sopuli.xyzOP
                  link
                  fedilink
                  English
                  arrow-up
                  14
                  ·
                  1 year 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@kbin.social
          link
          fedilink
          arrow-up
          8
          ·
          1 year 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
            arrow-up
            1
            arrow-down
            20
            ·
            1 year 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.

            • Moxvallix@sopuli.xyzOP
              link
              fedilink
              English
              arrow-up
              20
              ·
              1 year 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
                arrow-up
                1
                arrow-down
                16
                ·
                1 year 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?

                • Moxvallix@sopuli.xyzOP
                  link
                  fedilink
                  English
                  arrow-up
                  17
                  ·
                  1 year 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”.

            • xigoi@lemmy.sdf.org
              link
              fedilink
              arrow-up
              12
              ·
              1 year ago

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

              • over_clox@lemmy.world
                link
                fedilink
                arrow-up
                1
                arrow-down
                11
                ·
                1 year 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@kbin.social
                  link
                  fedilink
                  arrow-up
                  11
                  ·
                  1 year 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.

            • Nido@feddit.ch
              link
              fedilink
              arrow-up
              10
              ·
              1 year 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
            arrow-up
            1
            arrow-down
            22
            ·
            1 year 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@bookwormstory.social
              link
              fedilink
              English
              arrow-up
              9
              ·
              edit-2
              1 year 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.

            • Thorry84@feddit.nl
              link
              fedilink
              arrow-up
              8
              ·
              1 year ago

              Do you have a link to the Github page? I can’t find it and think you’re full of shit

      • over_clox@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        35
        ·
        1 year ago

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

        • andrew@lemmy.stuart.fun
          link
          fedilink
          English
          arrow-up
          22
          ·
          1 year 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
            arrow-up
            1
            arrow-down
            24
            ·
            1 year 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
              arrow-up
              16
              ·
              1 year 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@lemmy.ml
              link
              fedilink
              arrow-up
              5
              ·
              edit-2
              1 year 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.

        • Moxvallix@sopuli.xyzOP
          link
          fedilink
          English
          arrow-up
          19
          ·
          1 year 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@kbin.social
          link
          fedilink
          arrow-up
          19
          arrow-down
          1
          ·
          1 year 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.

    • LittleEndu@lemm.ee
      link
      fedilink
      arrow-up
      35
      ·
      1 year 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
        arrow-up
        2
        arrow-down
        36
        ·
        1 year 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
            arrow-up
            1
            arrow-down
            26
            ·
            1 year 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
              arrow-up
              2
              ·
              1 year 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
                arrow-up
                1
                arrow-down
                1
                ·
                1 year 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
                  arrow-up
                  2
                  ·
                  1 year 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