b3: SLD not recognized

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

Moderators: XnTriq, xnview

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

b3: SLD not recognized

Post by Xyzzy » Thu Jan 05, 2006 8:30 am

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: 32055
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: b3: SLD not recognized

Post by xnview » Thu Jan 05, 2006 8:52 am

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 » Thu Jan 05, 2006 9:42 am

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

X.

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

Post by xnview » Thu Jan 05, 2006 10:14 am

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 » Thu Jan 05, 2006 12:08 pm

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

X.

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

Post by xnview » Thu Jan 05, 2006 1:02 pm

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 » Thu Jan 05, 2006 1:22 pm

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: 32055
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Thu Jan 05, 2006 1:26 pm

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 » Thu Jan 05, 2006 2:04 pm

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: 8174
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut » Thu Jan 05, 2006 5:48 pm

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 » Tue Jan 10, 2006 11:48 am

fixed in rc1.

X.

Locked