Skip to content

Color Picker Not Available #226

@dev-nicolaos

Description

@dev-nicolaos

Describe the bug

When launching the app (installed via flatpak), I'm presented with the message "Color Picker Not Available" as seen in the screenshot below.

To Reproduce

Open the application

  1. Open application
  2. See error

Expected behavior

The application launches and allows for colors to be selected.

Screenshots

Image

Information

The application is installed via Flatpak. I've seen #72 and #209 but in those issues either the application wasn't installed via Flatpak or the gnome xdg portal wasn't installed, so I think this is different.

When running flatpak run com.github.finefindus.eyedropper with RUST_LOG=debug set via flatseal, I get the following output:

Debugging Information
 INFO  eyedropper::application > Eyedropper (com.github.finefindus.eyedropper)
 INFO  eyedropper::application > Version: 2.1.0 ()
 INFO  eyedropper::application > Datadir: /app/share/eyedropper
 DEBUG eyedropper::application::imp > GtkApplication<App>::startup
 DEBUG eyedropper::application::imp > Starting search provider as com.github.finefindus.eyedropper.SearchProvider on /com/github/finefindus/eyedropper/SearchProvider
 DEBUG eyedropper::application::imp > GtkApplication<App>::activate
 DEBUG eyedropper::window           > Formats: ["name", "hex", "rgb", "hsl", "hsv", "cmyk", "xyz", "cielab", "hwb", "hcl", "lms", "hunterlab", "oklab", "oklch"]
 DEBUG eyedropper::window           > Visible: ["name", "hex", "rgb", "hsl", "hsv", "cmyk"]
 WARN  eyedropper::window::imp      > System does not support color picking
 ERROR eyedropper::window::imp      > Failed to request global shortcuts: A portal frontend implementing `org.freedesktop.portal.GlobalShortcuts` was not found

(eyedropper:2): Gdk-WARNING **: 16:14:19.437: vkAcquireNextImageKHR(): A swapchain no longer matches the surface properties exactly, but can still be used to present to the surface successfully. (VK_SUBOPTIMAL_KHR) (1000001003)

Additional context

flatpak info com.github.finefindus.eyedropper outputs the following

Eyedropper - Pick and format colors

ID: com.github.finefindus.eyedropper
Ref: app/com.github.finefindus.eyedropper/x86_64/stable
Arch: x86_64
Branch: stable
Version: 2.1.0
License: GPL-3.0
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 6.0 MB
Runtime: org.gnome.Platform/x86_64/48
Sdk: org.gnome.Sdk/x86_64/48

Commit: debdfbfaf7606ed4250f728e94d3b4eabd988d16f68751a9bbcd974052ffa717
Parent: 1adf0101abeb6a658638c3c7a55fe3a7f819ea2feaa2278f70ac676bdf49ac62
Subject: chore: update to v2.1.0 (53c8836c)
Date: 2025-03-23 09:19:49 +0000

The required portals are installed. Running dnf list --installed | grep portal outputs:

libportal.x86_64                                     0.9.1-3.fc43                         updates
libportal-gtk3.x86_64                                0.9.1-3.fc43                         updates
libportal-gtk4.x86_64                                0.9.1-3.fc43                         updates
xdg-desktop-portal.x86_64                            1.20.3-2.fc43                        fedora
xdg-desktop-portal-gnome.x86_64                      49.0-1.fc43                          fedora
xdg-desktop-portal-gtk.x86_64                        1.15.3-2.fc43                        fedora
xdg-desktop-portal-termfilechooser.x86_64            v1.2.1-1.20251108gitv1.2.1.fc43      copr:copr.fedorainfracloud.org:mo-k12:personal

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtype:portalIssue is caused by a portal

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions