b3: SLD not recognized

Bugs and Issues in 1.82 Test versions which have been fixed and verified as resolved.

Moderators: XnTriq, helmut, xnview

Locked
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

b3: SLD not recognized

Post by Xyzzy »

Hello!

I created an SLD file. When I open it from Windows, I got "Format of the file <filename> could not be determined". XnView opens but slideshow is not played.
The same file can be opened&played from Slideshow dialog.

X.

The file:
# Slide Show Sequence
Timer = 5.000000
Loop = 1
FullScreen = 1
TitleBar = 0
Fit = 0
StrechVideo = 0
High = 1
CenterWindow = 1
ReadErrors = 1
RandomOrder = 0
ShowText = 1
Text = <Directory><Filename>
BackgroundColor = 0
FontName = "Courier"
FontBold = 0
FontItalic = 0
FontHeight = -13
TextColor = ffffff
TextPosition = 0
Effect = 1
"C:\Lukasz\Prywatne\112_PANA\P1120468.JPG"
"C:\Lukasz\Prywatne\112_PANA\P1120469.JPG"
"C:\Lukasz\Prywatne\112_PANA\P1120470.JPG"
"C:\Lukasz\Prywatne\112_PANA\P1120471.JPG"
"C:\Lukasz\Prywatne\112_PANA\P1120472.JPG"
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: b3: SLD not recognized

Post by xnview »

Xyzzy wrote:Hello!

I created an SLD file. When I open it from Windows, I got "Format of the file <filename> could not be determined". XnView opens but slideshow is not played.
The same file can be opened&played from Slideshow dialog.
Do you have associated it with xnView, option/install/Associate .sld...
Pierre.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

No, used RMB on file and Open with...

X.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Xyzzy wrote:No, used RMB on file and Open with...
In xnview??
Pierre.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

No, from Windows Explorer, as written in the first post.

X.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Xyzzy wrote:No, from Windows Explorer, as written in the first post.
You must associate it with xnview.
Pierre.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

Are you sure it is OK?
SLD file should be opened without errors this way- this is how it works with all Windows applications I've met so far.
If an application supports a file format, it can open it without problems via Open with... even if it is not associated with the application.

X.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Xyzzy wrote:Are you sure it is OK?
SLD file should be opened without errors this way- this is how it works with all Windows applications I've met so far.
If an application supports a file format, it can open it without problems via Open with... even if it is not associated with the application.
No you can't use open with, .sld file are opened with -sld parameter
Pierre.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

I understand the reason now, but it should be changed.

Do you think it could be changed in (near) future or rather not?

X.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Xyzzy wrote:I understand the reason now, but it should be changed.

Do you think it could be changed in (near) future or rather not?
Rigth. XnView should recognize .sld files automatically and start the slide show.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

fixed in rc1.

X.
Locked