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.

40 points

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

permalink
report
reply
18 points

😢

permalink
report
parent
reply
6 points
*

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.

permalink
report
parent
reply
4 points

Just tried it. Same colour picker as Firefox unfortunately.

permalink
report
parent
reply
15 points

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

permalink
report
parent
reply
8 points

Ah, that’s where the discussion is! Lovely!

*ignores OP question and scrolls down to join in*

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
21 points

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.

permalink
report
reply
27 points

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

permalink
report
parent
reply
9 points
*

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.

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
17 points

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

permalink
report
reply
21 points

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

permalink
report
parent
reply
8 points

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…

permalink
report
parent
reply
17 points

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

permalink
report
reply
13 points

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

permalink
report
parent
reply
6 points

If I recall correctly that enables the kde file picker at least

permalink
report
parent
reply
7 points

Yo kde color picker exists? How do I use this?

permalink
report
reply
9 points

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.

permalink
report
parent
reply

Firefox

!firefox@lemmy.ml

Create post

A place to discuss the news and latest developments on the open-source browser Firefox

Community stats

  • 4.2K

    Monthly active users

  • 906

    Posts

  • 17K

    Comments

Community moderators