After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 766338 - No user feedback if file is not readable
No user feedback if file is not readable
Status: RESOLVED FIXED
Product: shotwell
Classification: Other
Component: viewer-mode
unspecified
Other Linux
: Normal normal
: 0.24
Assigned To: Shotwell Maintainers
Shotwell Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-12 17:33 UTC by Jens Georg
Modified: 2016-05-21 15:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Push empty pixbuf to force repaint of viewer (958 bytes, patch)
2016-05-21 15:21 UTC, Jens Georg
committed Details | Review

Description Jens Georg 2016-05-12 17:33:00 UTC
4441 2016-05-12 19:31:36 [MSG] main.vala:387: Shotwell Photo Viewer 0.23.0 (273fca282f00afedb1e2cf0a3c4d417469904213)
V 4441 2016-05-12 19:31:36 [DBG] main.vala:249: startup => true true true
V 4441 2016-05-12 19:31:36 [DBG] Direct.vala:21: => Setting initial file /home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:316: Searching /home/jens/.gnome2/shotwell/plugins for plugins ...
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:135: Unable to search directory /home/jens/.gnome2/shotwell/plugins for plugins: Error opening directory '/home/jens/.gnome2/shotwell/plugins': No such file or directory
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:316: Searching /home/jens/Source/shotwell/plugins for plugins ...
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:316: Searching /home/jens/Source/shotwell/plugins/common for plugins ...
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:316: Searching /home/jens/Source/shotwell/plugins/shotwell-data-imports for plugins ...
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:424: Loaded SPIT module "Core Data Import Services 0.23.0" (org.yorba.shotwell.data_imports.core_services) [/home/jens/Source/shotwell/plugins/shotwell-data-imports/shotwell-data-imports.so]
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:316: Searching /home/jens/Source/shotwell/plugins/shotwell-publishing-extras for plugins ...
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:424: Loaded SPIT module "Shotwell Extra Publishing Services 0.23.0" (org.yorba.shotwell.publishing.extras) [/home/jens/Source/shotwell/plugins/shotwell-publishing-extras/shotwell-publishing-extras.so]
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:316: Searching /home/jens/Source/shotwell/plugins/shotwell-publishing for plugins ...
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:424: Loaded SPIT module "Core Publishing Services 0.23.0" (org.yorba.shotwell.publishing.core_services) [/home/jens/Source/shotwell/plugins/shotwell-publishing/shotwell-publishing.so]
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:316: Searching /home/jens/Source/shotwell/plugins/shotwell-transitions for plugins ...
V 4441 2016-05-12 19:31:36 [DBG] Plugins.vala:424: Loaded SPIT module "Core Slideshow Transitions 0.23.0" (org.yorba.shotwell.transitions) [/home/jens/Source/shotwell/plugins/shotwell-transitions/shotwell-transitions.so]
V 4441 2016-05-12 19:31:36 [DBG] Direct.vala:28: => Init with initial file /home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:36 [DBG] file.vala:245: => FileHash 0x1a19560 /home/jens/tmp4 file:///home/jens/tmp4
V 4441 2016-05-12 19:31:36 [DBG] DirectPhoto.vala:307: photo was null in fetch
V 4441 2016-05-12 19:31:36 [DBG] Photo.vala:1283: params.filepath: >/home/jens/tmp4/Capture.PNG<
V 4441 2016-05-12 19:31:36 [DBG] Photo.vala:1310: Unable to interrogate photo file /home/jens/tmp4/Capture.PNG: Error opening file: Permission denied
V 4441 2016-05-12 19:31:36 [DBG] Photo.vala:408: => Getting reader for path /home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:36 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:36 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:36 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:36 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:36 [DBG] DirectPhoto.vala:313: => 0x1a0a020 /home/jens/tmp4/Capture.PNG 0x1bc71b0 0x1a1a040
V 4441 2016-05-12 19:31:36 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:36 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:36 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:36 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:36 [DBG] DirectPhoto.vala:206: => Adding file 0x1a1a040 /home/jens/tmp4/Capture.PNG (map.has_key: false)
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] PhotoPage.vala:916: Rebuild pixbuf caches: switched_to (scaling: UNSCALED)
V 4441 2016-05-12 19:31:37 [DBG] PhotoPage.vala:941: Refresh pixbuf caches (switched_to): (no photo)
V 4441 2016-05-12 19:31:37 [DBG] PhotoPage.vala:916: Rebuild pixbuf caches: on_viewport_resized (scaling: viewport 960x472 (not scaled up))
V 4441 2016-05-12 19:31:37 [DBG] PhotoPage.vala:941: Refresh pixbuf caches (on_viewport_resized): (no photo)
V 4441 2016-05-12 19:31:37 [DBG] DirectPhotoPage.vala:243: => Getting dile source for 0x1a0a020 /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] PhotoPage.vala:941: Refresh pixbuf caches (on_view_contents_ordering_altered): (no photo)
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] PhotoPage.vala:941: Refresh pixbuf caches (on_view_contents_ordering_altered): (no photo)
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [WRN] DirectPhoto.vala:78: Database error on re-importing image: Error opening file: Permission denied
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [WRN] Photo.vala:2639: Unable to load metadata: /home/jens/tmp4/Capture.PNG: Failed to open the data source: Permission denied (errno = 13)
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [WRN] Photo.vala:2639: Unable to load metadata: /home/jens/tmp4/Capture.PNG: Failed to open the data source: Permission denied (errno = 13)
V 4441 2016-05-12 19:31:37 [CRT] photo_metadata_get_preview_count: assertion 'IS_PHOTO_METADATA (self)' failed
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [WRN] PhotoPage.vala:1158: Failed to open file '/home/jens/tmp4/Capture.PNG': Permission denied
V 4441 2016-05-12 19:31:37 [CRT] scaling_perform_on_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
V 4441 2016-05-12 19:31:37 [CRT] zoom_buffer_construct: assertion 'GDK_IS_PIXBUF (preview_image)' failed
V 4441 2016-05-12 19:31:37 [DBG] PhotoPage.vala:1249: Using progressive load for [1] /home/jens/tmp4/Capture.PNG (scaling: viewport 960x472 (not scaled up))
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [WRN] Photo.vala:2639: Unable to load metadata: /home/jens/tmp4/Capture.PNG: Failed to open the data source: Permission denied (errno = 13)
V 4441 2016-05-12 19:31:37 [CRT] photo_metadata_get_preview_count: assertion 'IS_PHOTO_METADATA (self)' failed
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [WRN] PhotoPage.vala:1256: Failed to open file '/home/jens/tmp4/Capture.PNG': Permission denied
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] PhotoPage.vala:937: Refresh pixbuf caches (replace_photo): prefetching neighbors of [1] /home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] main.vala:276: 0,481652 seconds to Gtk.main()
V 4441 2016-05-12 19:31:37 [CRT] PixbufCache.vala:262: Unable to readahead [1] /home/jens/tmp4/Capture.PNG: Failed to open file '/home/jens/tmp4/Capture.PNG': Permission denied
V 4441 2016-05-12 19:31:37 [WRN] Page.vala:263: Page Capture.PNG: Unable to locate action Publish
V 4441 2016-05-12 19:31:37 [WRN] Page.vala:263: Page Capture.PNG: Unable to locate action Fullscreen
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [WRN] Photo.vala:2639: Unable to load metadata: /home/jens/tmp4/Capture.PNG: Failed to open the data source: Permission denied (errno = 13)
V 4441 2016-05-12 19:31:37 [CRT] photo_metadata_get_preview_count: assertion 'IS_PHOTO_METADATA (self)' failed
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:37 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:37 [WRN] PhotoPage.vala:1139: Failed to open file '/home/jens/tmp4/Capture.PNG': Permission denied
V 4441 2016-05-12 19:31:37 [DBG] file.vala:245: => FileHash 0x1a2a320 /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] file.vala:245: => FileHash 0x1a2a320 /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] file.vala:245: => FileHash 0x1a19560 /home/jens/tmp4 file:///home/jens/tmp4
V 4441 2016-05-12 19:31:37 [DBG] file.vala:245: => FileHash 0x1a19560 /home/jens/tmp4 file:///home/jens/tmp4
V 4441 2016-05-12 19:31:37 [DBG] file.vala:245: => FileHash 0x1a19560 /home/jens/tmp4 file:///home/jens/tmp4
V 4441 2016-05-12 19:31:37 [DBG] file.vala:245: => FileHash 0x1a2a320 /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] file.vala:245: => FileHash 0x1a2a320 /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:37 [DBG] file.vala:245: => FileHash 0x1a2a320 /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:56 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:56 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:56 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:56 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:56 [WRN] Photo.vala:2639: Unable to load metadata: /home/jens/tmp4/Capture.PNG: Failed to open the data source: Permission denied (errno = 13)
V 4441 2016-05-12 19:31:56 [DBG] Photo.vala:989: => getsourcereader1
V 4441 2016-05-12 19:31:56 [DBG] Photo.vala:993: => getsourcereader2
V 4441 2016-05-12 19:31:56 [DBG] Photo.vala:997: => getsourcereader3
V 4441 2016-05-12 19:31:56 [DBG] PhotoFileAdapter.vala:45: => File: 0x1a1a040 /home/jens/tmp4/Capture.PNG /home/jens/tmp4/Capture.PNG file:///home/jens/tmp4/Capture.PNG
V 4441 2016-05-12 19:31:56 [WRN] Photo.vala:2639: Unable to load metadata: /home/jens/tmp4/Capture.PNG: Failed to open the data source: Permission denied (errno = 13)
V 4441 2016-05-12 19:31:56 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'DIRECT_WINDOW_MAXIMIZE' changed.
V 4441 2016-05-12 19:31:56 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'DIRECT_WINDOW_WIDTH' changed.
V 4441 2016-05-12 19:31:56 [DBG] ConfigurationInterfaces.vala:331: ConfigurationFacade: engine reports property 'DIRECT_WINDOW_HEIGHT' changed.
Comment 1 Jens Georg 2016-05-12 17:33:34 UTC
Window stays black without any feedback what is going on
Comment 2 Jens Georg 2016-05-21 15:21:36 UTC
Created attachment 328318 [details] [review]
Push empty pixbuf to force repaint of viewer

Otherwise the message that the photo isn't available will never be painted

Signed-off-by: Jens Georg <mail@jensge.org>
Comment 3 Jens Georg 2016-05-21 15:22:26 UTC
Attachment 328318 [details] pushed as 66568e9 - Push empty pixbuf to force repaint of viewer