NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.38k stars 13.61k forks source link

No notification to browse camera on KDE with `kdePackages.kamera` installed #325077

Open Iorvethe opened 2 months ago

Iorvethe commented 2 months ago

Describe the bug

I have a digital camera with pictures I want to import. From I what I understood, I have to install kdePackages.kamera to provide a KIO worker that can be used by Dolphin and Gwenview to work with digital cameras.

Once installed, I have a new menu in the system settings (Disks & Cameras > Digital Camera) where my camera is seen, and upon clicking the Test button, a message with ‘successful connection’ is shown. However, I have no way to access its contents from this settings entry.

And neither can I access it from Dolphin or Gwenview, or at least not obviously. I don’t know if some hidden setting has to be enabled, but from my understanding the camera should be shown as a device automatically.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Have a digital camera that can only be accessed with gphoto
  2. Install kdePackages.kamera
  3. Try to access it in Dolphin or Gwenview

Expected behavior

The camera should be shown as a device, in same way a USB device is shown.

Additional context

I have installed the package via home-manager. Additionally, I can access the images using DigiKam, but I don’t have much use for it besides importing the pictures and would prefer not installing it.

Notify maintainers

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.36, NixOS, 24.05 (Uakari), 24.05.20240702.706eef5`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.4`
 - nixpkgs: `/nix/store/0z4i8wyg3ymm7kkb1gk2wyh08x230c6z-source`

Add a :+1: reaction to issues you find important.

Iorvethe commented 2 months ago

I am not sure if the problem is here or upstream, but with the command line tool gphoto2, which is used by kamera, I have access to the contents and I can download them. I will use it in the meantime, but an integration in dolphin would be much handier.

Upon further testing, I actually have access to camera:/ if I type it in the address bar in Dolphin or Gwenview, I just expected for it to be in the side bar or to receive a notification upon plugging the camera. So, the KIO worker works, but I still have the following error in the terminal:

kf.kio.core: UDSEntry for '.' not found, creating a default one. Please fix the "kio_kamera" KIO worker.

which may be an issue here.