Giter VIP home page Giter VIP logo

color-picker's People

Contributors

abakkk avatar amivaleo avatar etamuk avatar miguelovila avatar mt190502 avatar sierra410 avatar tuberry avatar vistaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

color-picker's Issues

Color preview is just a gray rectangle

OS: Pop! OS 20.10 64-bit
(Not sure what other information is needed)

2021-05-01_11-26

Everything else works perfectly fine, like copying the color. It's just the color preview while selecting that is a gray box. I can see it change to slightly different shades of gray as I move my cursor.

Transparent Box around Extension Icon

Description:
I'd like to start by expressing my appreciation for the fantastic Gnome extension, "color-picker." It's a simple and incredibly useful tool.

However, I've encountered a minor issue that I believe could be improved. When I click on the extension icon, a strange transparent box appears around it. This behavior, while not a critical problem, affects the overall user experience. I'd like to suggest a fix for this issue to make the extension even better.

Steps to Reproduce:

Install the "color-picker" Gnome extension from [link].
Click on the extension icon in the Gnome top bar.
Observe the strange transparent box that appears around the icon.

Screenshots:
Screenshot from 2023-10-12 14-32-16

Screencast.from.2023-10-12.14-38-10.webm

Screenshot from 2023-10-12 14-39-45

Environment:
Os Name : [Fedora Linux 38 (Workstation Edition)]
Os Type : [64-bit]
GNOME Version :[44.5]
Windowing System :[Wayland]
Kernal Version :[Linux 6.5.6-200.fc38.x86_64]

cannot delete colors selected

heloo sir, very nice extension for gnome
I would like to clear all colors selected also to have an reset to initial setup because I delete some custom preset give by you initialy by mistake
thank you very much

Problem using keybind

I am using GNOME 46.1 on Fedora 40. When inputting my keybind (i have tried different combinations), my cursor is changed to a pluss/cross thing, but no normal color picker ui and then quickly returns to my normal cursor. I can use the color picker normally by pressing the tray icon. I have tried to reinstall the extention as well, but i the same happens. I am on x.org, but havent had time to test on wayland

Wrong icon

For some (weird) reasons, whenever I want to pick a color, the displayed icon is this one :

image

Which makes it difficult to aim the color I want.

NB : thank you for this extension. Incredibly useful (almost life-saving).

Keyboard ungrab

The menu does not ungrab the keyboard after I click on an item. So I must pick a color to exit, and I loose the previous clipboard content.

NixOS install

GLib.FileError: Failed to open file β€œ/run/current-system/sw/share/gnome-shell/extensions/color-picker@tuberry/schemas/gschemas.compiled”: open() failed: No such file or directory

Stack trace:
getSettings@resource:///org/gnome/Shell/Extensions/js/misc/extensionUtils.js:228:31
Block@/run/current-system/sw/share/gnome-shell/extensions/color-picker@tuberry/ui.js:13:36
_buildWidgets@/run/current-system/sw/share/gnome-shell/extensions/color-picker@tuberry/prefs.js:113:21
ColorPickerPrefs@/run/current-system/sw/share/gnome-shell/extensions/color-picker@tuberry/prefs.js:108:14
buildPrefsWidget@/run/current-system/sw/share/gnome-shell/extensions/color-picker@tuberry/prefs.js:15:12
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:32:44
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/nix/store/p7rdgmqisryf21x9wg2nawfbjh7c396i-gnome-shell-44.2/share/gnome-shell/.org.gnome.Shell.Extensions-wrapped:7:17

Request: Respect icon theme in the indicator

Hi, thank you for this very useful extension πŸ™‡

Would it be possible to lookup if the current icon theme has an icon for color-select-symbolic.svg and then use it if it is there otherwise fallback to your icon?
Both Adwaita and Yaru have it :)

Thanks in advance πŸ‘‹

Doesn't work after upgrading to Ubuntu 24.04

Doesn't work after upgrading to Ubuntu 24.04 (Gnome shell 46).
Shows the red error button on gnome extensions page.

I'm getting the below error in a popup when I click on the settings button:


Error: Requiring Json, version none: Typelib file for namespace 'Json' (any version) not found

Stack trace:
  require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28
  @gi://Json/:3:25
  _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

Spanish translation

Hi! I give the spanish tranlation, I tried to push a commit but github not allows me so here you go. Good Extension!
es_ES.zip
.

Quick Settings Toggle

I think the extension is great but I don't use it nearly enough for it to occupy my precious top bar space. Would you be interested in proving a way to switch from "Icon mode" to "Quick Settings Toggle mode"?

Inquiry on how to make extensions

Hey @tuberry , I am really enjoying your extension. I wanted to ask if you might know of any places to get started on learning how to design an extension, as I went through the extension files and noticed that they are rather complex (you have the extension.js, colors, js, menu.js, etc. files included in the package). Out of curiosity, where did you find the most resources in order to develop your color picker application? Thanks in advance for your time!

Localization files need rebasing

Hi!

Can you update the pot file?

I'd like to provide italian translation for this extension but the pot file only contains a few lines, while the extension is plenty of labels and string.

Thank you!

[Design Idea] The color previewer default behavior

Now we have three previewers, but each has its shortcomings, I'd like to keep just the Firefox inspired Lens, but by default it's difficult to observe the actual movement under it.

So I'm thinking of showing the original pixels by default and the zoomed in pixels when Ctrl is pressed, or the other way around.

You can thumb up the default behavior you like, or share below if you have a better one.

Addition of Remove option

Thank you for this great extension. It reduce a lot of efforts for me . But I have some suggetion on UI/UX of this extension. If you can implement all of those, it will be great.

s1: Please add a option to delete the individual color picked, It stays on the menu.
s2: It would be great if you can add a feature to just pop the color copied to the top if it already exists in the history without creating a new one.

image

Here is a UI image for your reference,
Thank you.

image

Different value sampled depending on preview type

I've just installed the extension via https://extensions.gnome.org/ and have found that the value sampled (while using hex) is different for me depending on whether or not I'm using the Label preview or the icon preview.

For example if I go to ebay using chrome and sample the blue b in the logo I get "#0a63cf" and using the icon I get "#0c72ef" even while zoomed in to avoid any weird edge artefacts.

Another example is that if I sample my window colour in my OS, Label is #2c2c2c and Icon is #333333.

I find that the label version is correct based on what I'm doing.

My system info in case it helps is as follows: -

OS: Ubuntu 23.04 x86_64
Host: XPS 15 9520
Kernel: 6.2.0-31-generic
Uptime: 3 days, 8 hours, 34 mins
Packages: 2410 (dpkg), 15 (flatpak), 33 (snap)
Shell: zsh 5.9
Resolution: 1920x1200, 1440x2560, 3440x1440
DE: GNOME 44.3
WM: Mutter
WM Theme: Adwaita
Theme: Yaru-blue-dark [GTK2/3]
Icons: Yaru-blue [GTK2/3]
Terminal: tilix
CPU: 12th Gen Intel i7-12700H (20) @ 4.600GHz
GPU: NVIDIA GeForce RTX 3050 Ti Mobile
GPU: Intel Alder Lake-P
Memory: 17428MiB / 31758MiB

Normalized RGB color option

Feature request.

Can you add an option to have an RGB color in format 0-1 where white is (1, 1, 1) and black is (0, 0, 0)?

[Wayland] Picking the color using a graphics tablet rarely works

The picker seems to get attached to the pointer that belongs to the mouse, most of the time.

It can work with the tablet, and it, sometimes, does. However, it's an incredibly rare event that I can't reproduce reliably.

Screencast.from.2023-07-01.09-27-39.webm

Key shortcut does not work after system boot

OS: Manjaro Linux
GNOME-SHELL: 3.36.4

Key shortcut does not work after system boot.
But after restarting the Gnome Shell (Alt+F2+r) everything works.
On other extensions, everything works as it should.

How can this be fixed?

Color Accuracy?

Awesome extension, thank you. One thing I am finding is that this dropper is reporting different hex codes than a browser based color picker (which is correct) and the color is different than what GIMP reports - (GIMP is also correct). Any ideas? Thanks

Cursor does not appear

image

When selecting picker instead of the selection cursor, it shows what I have in the image. I guess a wrong path or something for the cursor?
Running on manjaro with gnome 3.38.1

Can't Update Extension on Gnome 3.36.3

I use Pop!_OS and the system told me that I needed to update Color Picker. I tried via the Gnome Extension site, and it errored out. Tried removing it, same. Tried manually installing, same. Not sure what I am doing wrong and what diagnostic info I can give you to help.

How to change cursor?

Currently, cursor when I click color-picker on my system is this.
Screenshot from 2021-05-01 12-39-29

This makes it really hard to figure out which part is pointing to the color I want to choose. Since there is no live feedback like one found on other color picker apps, it makes it really hard from usability point of view. I really wanted to use gnome extension instead of external app for color picker.

I tried changing the system cursor theme but it didn't change anything.

Wrong color picked up when moving pointer from left to right

I am using gnome 41.2 on Arch

Extension behaves as expected when pointer is moved from right to left but shows and picks up wrong color when moved from left to right. Attaching a small screen capture for a demo of my issue...

Kooha-12-16-2021-20-43-25.mp4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.