Is there any way to get Firefox to use the native color picker? - eviltoast

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.

  • over_clox@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    35
    ·
    11 个月前

    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
      33
      arrow-down
      1
      ·
      11 个月前

      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
        32
        ·
        11 个月前

        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
          19
          ·
          11 个月前

          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
            23
            ·
            11 个月前

            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
              17
              ·
              11 个月前

              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.

              • over_clox@lemmy.world
                link
                fedilink
                arrow-up
                1
                arrow-down
                20
                ·
                11 个月前

                Its literally technology from 1993. Are their actually no new ideas since 1993 that they just keep copying the same GUI?

                Pitiful, absolutely pitiful. Hell, even AI can do better than ancient copycat

                  • over_clox@lemmy.world
                    link
                    fedilink
                    arrow-up
                    1
                    arrow-down
                    17
                    ·
                    11 个月前

                    Nope, I’ve just decided that I’m not stupid enough to share my code when everyone gives me shit for designing a unique user interface.

            • Moxvallix@sopuli.xyzOP
              link
              fedilink
              English
              arrow-up
              14
              ·
              11 个月前

              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
      ·
      11 个月前

      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
        ·
        11 个月前

        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
          ·
          11 个月前

          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
            ·
            11 个月前

            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
              ·
              11 个月前

              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
                arrow-up
                1
                arrow-down
                14
                ·
                11 个月前

                No shit, M$ literally used the same color picker for 24 bit truecolor as well. It’s literally the same GUI.

                • Moxvallix@sopuli.xyzOP
                  link
                  fedilink
                  English
                  arrow-up
                  12
                  ·
                  11 个月前

                  No… I am starting to understand why you have been saying the things you have. You are actually thinking they are the same program.

                  They very much are not. KDE wrote their own. Just happens to look the same. KDE’s uses QT, Microsoft would use Window’s native toolkit.

                  They are not the same colour picker.

                  • over_clox@lemmy.world
                    link
                    fedilink
                    arrow-up
                    1
                    arrow-down
                    15
                    ·
                    11 个月前

                    They have the same interface. No originality, no creativity, just copy the big $$ crappy interface…

          • over_clox@lemmy.world
            link
            fedilink
            arrow-up
            1
            arrow-down
            11
            ·
            11 个月前

            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
              ·
              11 个月前

              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.

              • over_clox@lemmy.world
                link
                fedilink
                arrow-up
                1
                arrow-down
                10
                ·
                11 个月前

                I’m not going back to that year 2009 crap, “source code or it didn’t happen”.

                Allz I know is I see with my own eyes that KDE done literally copied Win311 color picker.

        • xigoi@lemmy.sdf.org
          link
          fedilink
          arrow-up
          12
          ·
          11 个月前

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

        • Nido@feddit.ch
          link
          fedilink
          arrow-up
          10
          ·
          11 个月前

          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
        ·
        11 个月前

        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
          11 个月前

          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
          ·
          11 个月前

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