Bug 32976 - If a Gimp user chooses "online help" in preferences, attempting to use "Help" or "User Manual" from the Gimp menu results in an error message. Requires 'gvfs'.
Summary: If a Gimp user chooses "online help" in preferences, attempting to use "Help"...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: High major
Target Milestone: ---
Assignee: Stig-Ørjan Smelror
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-17 16:45 CET by Thomas Andrews
Modified: 2024-03-25 21:09 CET (History)
2 users (show)

See Also:
Source RPM: gimp-2.10.36-1.mga9
CVE:
Status comment:


Attachments
Screenshot of error message (40.71 KB, image/jpeg)
2024-03-24 21:46 CET, Thomas Andrews
Details

Description Thomas Andrews 2024-03-17 16:45:39 CET
Description of problem: (Hoping I can describe this so you can understand what's happening...

In Gimp, whether a local help file is installed or not, if a user chooses to specify "Use the online version" of gimp-help, then from the main menu attempts to use either "Help" or "User Manual" options, an error message pops up, and the action fails. The error message goes like this:

Could not open 'https://docs.gimp.org/2.10/en/gimp-help.xml' for reading: Operation not supported

Perhaps you are missing GIO backends and need to install GVFS?


The online manual is accessible using "User manual web site" under "GIMP Online" from the Help menu, so the "operation" shouldn't need anything more than it already has to be supported.

In addition, if no gimp-help is installed, and "Use a local copy" is selected in Preferences, and Help is invoked, a box pops up with a message that there is no help file in the user's language installed, and asks if the user wants to use the online copy instead. Choosing Yes brings up the above error message.

If a gimp-help is installed, and "Use a local copy" is selected, the two Help menu choices bring up the local file as they should.

Version-Release number of selected component (if applicable): gimp-2.10.36-1


How reproducible: Always

Calling this a "Major" bug, as I believe that with an application as complex and feature-packed as Gimp, easy access to the user manual is essential, even if our local files are not installed.
Thomas Andrews 2024-03-17 16:46:10 CET

Priority: Normal => High

Comment 1 Morgan Leijström 2024-03-17 22:16:49 CET
The help facilities as described problematic seem to work in our other version, gimp-2.99. (kind of beta series for gimp3)

CC last gimp2 packager

CC: (none) => fri, smelror
Source RPM: (none) => gimp-2.10.36-1.mga9

Comment 2 Lewis Smith 2024-03-24 21:08:25 CET
gimp-2.10.36-1.mga9, no local help (gimp-help-xx) installed.
Edit-Preferences-Helpsystem shows:
"User manual: Use a locally installed copy"
+ "The user manual is not installed locally".

Help-Help yields "Gimp user manual is missing. The GIMP user manual is not installed in your language. You may either install the additional help package or change your preferences to use th online version. CANCEL | READ ONLINE".

Choosing 'Read Online', with Firefox already open, opens a new tab for online Gimp help. OK so far.
Going back to Gimp, Edit-Preferences-Helpsystem now shows 'Use the online version'!
---
Forced this back to 'Use a locally installed copy', re-start Gimp, confirm this option. Still no local Help.
Edit-Preferences-Helpsystem' change to 'Use online version'; TJ's starting point.
With Firefox already running, Help-Help directly opens a new tab with Gimp online Help.
Trying Help-User manual-Basic concepts also opens a relevant online Help page in Firefox.

Where am I going wrong (to see the fault)?

CC: (none) => lewyssmith

Comment 3 Thomas Andrews 2024-03-24 21:46:56 CET
Created attachment 14481 [details]
Screenshot of error message
Comment 4 Martin Whitaker 2024-03-24 21:49:51 CET
Looks to be a missing dependency. Using the GNOME Live ISO, which has GIMP pre-installed, on-line help works. Using the Plasma Live ISO and installing GIMP, I see the error TJ reports. Installing the gvfs package fixes it.
Comment 5 Thomas Andrews 2024-03-24 22:19:59 CET
Mid-Air collision! (Great minds, Martin, great minds...) ;-)

    (In reply to Lewis Smith from comment #2)
    > gimp-2.10.36-1.mga9, no local help (gimp-help-xx) installed.

    > 
    > Where am I going wrong (to see the fault)?

    I have no idea. At first I thought it might be that I didn't have Firefox already running, but I just tried it and I still get the fault. (See attachment)

    Possible differences in my system: Plasma-only, gimp-data-extras and xsane-gimp installed, system theme and Legacy icons selected instead of the ugly defaults. Single-window mode.

    I just tried another system. Completely different hardware, ugly default theme and icons. Similarities are again the same Gimp packages installed, and Plasma-only.

    That last makes me think: Gimp is a Gnome/Gtk application. Could there be a Gtk/Gnome dependency that's missing on my Plasma-only systems?
Comment 6 Lewis Smith 2024-03-25 21:08:22 CET
(In reply to Thomas Andrews from comment #0)
> The error message goes like this:
> 
> Could not open 'https://docs.gimp.org/2.10/en/gimp-help.xml' for reading:
> Operation not supported
> 
> Perhaps you are missing GIO backends and need to install GVFS?

(In reply to Thomas Andrews from comment #5)
>     That last makes me think: Gimp is a Gnome/Gtk application. Could there
> be a Gtk/Gnome dependency that's missing on my Plasma-only systems?

(In reply to Martin Whitaker from comment #4)
> Looks to be a missing dependency. Using the GNOME Live ISO, which has GIMP
> pre-installed, on-line help works. Using the Plasma Live ISO and installing
> GIMP, I see the error TJ reports. Installing the gvfs package fixes it.

A case of reading & heeding what it says; Martin did!

$ urpmq --requires-recursive gimp | grep gvfs
$ 
$ urpmq --whatrequires-recursive gvfs | grep gimp
$ 
$ rpm -q gvfs       on my box; we should have looked at this.
gvfs-1.50.4-1.mga9

This is easy to fix; assigning to Stig who does most Gimp updates.
For QA eventually, only need to test the update that 'gvfs' *is* required by Gimp; it is not currently - see above.

CC: lewyssmith => (none)
Assignee: bugsquad => smelror

Lewis Smith 2024-03-25 21:09:23 CET

Summary: If a Gimp user chooses "online help" in preferences, attempting to use "Help" or "User Manual" from the Gimp menu results in an error message => If a Gimp user chooses "online help" in preferences, attempting to use "Help" or "User Manual" from the Gimp menu results in an error message. Requires 'gvfs'.


Note You need to log in before you can comment on or make changes to this bug.