XSane plugin not available in File menu
Environment/Versions
- GIMP version: 2.10.24
- Package: .deb package shipped with OS
- Operating System: Kubuntu 21.10
Description of the bug
On the initial startup, GIMP initializes plugins, including xsane. Initializing xsane takes a long time on my system (perhaps, around 20 seconds), and after that the startup completes. However, there is no option in File->Create menu to create an image from scanner. On subsequent GIMP restarts, it no longer initializes plugins, including xsane, but the option is still missing.
Starting xsane on its own works, it hangs for some time (perceptively, also around 20 seconds) while "scanning for devices", then starts, and the scanner is working as expected there.
Reproduction
Is the bug reproducible? Yes, always.
Reproduction steps:
- If you've already started GIMP before,
touch /usr/lib/gimp/2.0/plug-ins/xsane/xsane
. - Start GIMP. See that xsane plugin gets initialized.
- Go to File->Create menu to see if xsane option is there.
Expected result:
There should be an option to obtain an image from scanner via xsane.
Actual result:
There is no option.
Additional information
My scanner is Canon LiDE 210, connected over USB. xsane 0.999-11ubuntu1
This started happening after upgrading from Kubuntu 21.04 to 21.10. In 21.04, with GIMP 2.10.22 and xsane 0.999-10ubuntu1, the xsane option was present.