No previews are shown when opening ORA files

Bug #987643 reported by grofaty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Released
Medium
Cameron White

Bug Description

Pinta 1.2 on Windows XP:
1. Open Pinta.
2. Draw something e.g. with Paintbrush tool.
3. File | Save As.
4. Now save the same file in following formats (executing step 3 multiple times).
a) test.png
b) test.jpg
c) test.ora
d) test.tga
7. File | Open. Now don't open images, just single click on them to mark them.
You will see preview is seen for all of the images except ora.

Then I have copied files to Ubuntu 11.10 and tested the same problem in Pinta latest development. There is the same problem: *.ora files has no preview. On Ubuntu there is additional problem: *.tga files is also no preview.

P.S. I have tested the same files in CubeExlorer - something like Windows Explorer file manager and all of the files can be previewed (something like a preview in Pinta). So files are created correctly, just not displayed in Open Image File preview window.

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

Confirmed that ORA previews are missing on Windows 7.

Changed in pinta:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Cameron White (cameronwhite91) wrote :

Just updating this - the TGA preview issues on Ubuntu were due to bug #987641, which is now fixed.

The file previews are currently generated using Gdk.Pixbuf, which does not have ORA support (Pinta has its own custom ORA importer, so we would need to extend the file preview code to use that importer).

summary: - No preview for ORA and TGA file types
+ No previews are shown when opening ORA files
Revision history for this message
grofaty (grofaty) wrote :

I have tested this with latest development on Ubuntu and I can see TGA preview now works fine.

The only remaining issue is ORA files without preview.
P.S. Maybe we should change this bug to wishlist, because there is some additional code needed to support ora files.

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

I think I'll leave this as a bug, since image previews should be working for every file type supported by Pinta.

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

Fixed: https://github.com/PintaProject/Pinta/commit/de29b1e55c015e79e96046f16b4917e835310150

Previews are now shown for ORA files, and any new file format importers that are provided by add-ins will also be able to display previews.

Changed in pinta:
assignee: nobody → Cameron White (cameronwhite91)
milestone: none → 1.5
status: Confirmed → Fix Committed
Revision history for this message
grofaty (grofaty) wrote :

Tested in Pinta latest development in Ubuntu and I can confirm bug is fixed.

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.