Fails to open images with spaces in names on Ubuntu

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
jarmade
Posts: 6
Joined: Thu Dec 06, 2012 1:41 am

Fails to open images with spaces in names on Ubuntu

Post by jarmade »

I set xnview as my default image viewer so I can double click files to open them.

I noticed if you open any file with spaces in its name, xnview will open with a blank white screen, but works for files with no spaces. I tested the following commands in the terminal to confirm this:

xnview /home/jade/Pictures/nospace.png - xnview window opens and displays the image "nospace.png"

xnview /home/jade/Pictures/Clipboard 1.png - blank xnview window opens with no controls (see attachment)
console output:

Code: Select all

XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 856 603 
QMetaObject::invokeMethod: No such method MyTabBar::layoutTabs()
QSslSocket: cannot resolve SSLv2_client_method
QSslSocket: cannot resolve SSLv2_server_method
w.init
XNVIEW 1 ok 
## XNVIEW RESIZE : 856 603 
## MyTabWidget :: resizeEvent : 856 603 
XNVIEW 2 ok 
w.start
I figured adding quotation marks around the file path would fix it, but I get the same result (blank window)

test commands:
xnview "/home/jade/Pictures/Clipboard 1.png" - blank window opens with no controls
xnview "/home/jade/Pictures/nospace.png" - blank window again

Specs:
Operating system - Ubuntu 12.04.1 x64
XnViewMP Version 0.51 (Jun 26 2012)

Blank window snapshot:
Image
Post Reply