Cannot open Google Drive Pictures

Bug #1958763 reported by Nico
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Released
Undecided
Unassigned

Bug Description

I am using the gnome google drive integration, but I cannot open pictures laying in that path. I guess this is an issue with the pathname or type. See the screenshot.

Version 2.0.1 (not 2.0.2 if that is important)

Revision history for this message
Nico (nicohood) wrote :
Revision history for this message
Cameron White (cameronwhite91) wrote :

I'll try to set up a test environment for this. One thing to try would be whether it works with a .ora format image, which goes through a different code path

Revision history for this message
Nico (nicohood) wrote :

It happens with ora as well

Revision history for this message
Cameron White (cameronwhite91) wrote :

I've reproduced this in a test VM - I think the issue is that the path Pinta gets just has a bunch of random characters and doesn't have an extension, so it's related to bug 1679570
Pinta should probably just fall back to trying all its importers if it can't determine an extension

A related issue is whether Pinta can somehow obtain the real filename - otherwise the label for the tab in Pinta just shows a bunch of random characters rather than "test.png"

Changed in pinta:
milestone: none → 2.1
status: New → Confirmed
Revision history for this message
Cameron White (cameronwhite91) wrote :

After more reading, Pinta should probably start using the GFile interface from Gtk.FileChooser (https://docs.gtk.org/gtk3/method.FileChooser.get_files.html), and set the local-only property to false

This seems to be the approach we'd need anyways for GTK4: https://discourse.gnome.org/t/gtk4-gtkfilechooser-show-only-local-files/6363

Revision history for this message
Cameron White (cameronwhite91) wrote :

I've done some initial work on this in https://github.com/PintaProject/Pinta/pull/215 - it's mostly working so far, but still has some bugs to be sorted out

Changed in pinta:
status: Confirmed → Fix Committed
grofaty (grofaty)
Changed in pinta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.