[2.31] 'Recognize by extension..' for user plugins

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
Arty
Posts: 26
Joined: Tue Jun 28, 2011 1:22 pm
Location: Belarus, Brest

[2.31] 'Recognize by extension..' for user plugins

Post by Arty » Mon Mar 09, 2015 5:53 pm

Hi, Pierre.

Disabling "Recognize only by extension" option doesn't work for user plugins in XnView v2.31. Could you please enable using it for user plugins? I have my own plugin for PVR files and sometimes I need to view them with different extension but I can't.

Thanks!

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

Re: [2.31] 'Recognize by extension..' for user plugins

Post by xnview » Tue Mar 10, 2015 7:50 am

new bug??

could you send me a sample file and the plugin?
Pierre.

Arty
Posts: 26
Joined: Tue Jun 28, 2011 1:22 pm
Location: Belarus, Brest

Re: [2.31] 'Recognize by extension..' for user plugins

Post by Arty » Tue Mar 10, 2015 8:05 am

Plugin is here: http://newsgroup.xnview.com/viewtopic.php?f=35&t=27877
You can get sample pvr file from plugin archive in "test" folder. To reproduce bug: change test file extension for example from .pvr to .bytes

P.S. I think it's an old bug. Previous versions did not work as well.

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

Re: [2.31] 'Recognize by extension..' for user plugins

Post by xnview » Tue Mar 10, 2015 12:21 pm

Arty wrote:Plugin is here: http://newsgroup.xnview.com/viewtopic.php?f=35&t=27877
You can get sample pvr file from plugin archive in "test" folder. To reproduce bug: change test file extension for example from .pvr to .bytes

P.S. I think it's an old bug. Previous versions did not work as well.
yes xnview use always extension for user plugin.
could you rebuild the plugin, and modify extension for "pvr;*"?
Pierre.

Arty
Posts: 26
Joined: Tue Jun 28, 2011 1:22 pm
Location: Belarus, Brest

Re: [2.31] 'Recognize by extension..' for user plugins

Post by Arty » Tue Mar 10, 2015 1:11 pm

I've already try this. But it looks like XnView get plugin supported extension from plugin dll name! It don't use information from gfpGetPluginInfo().

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

Re: [2.31] 'Recognize by extension..' for user plugins

Post by xnview » Tue Mar 10, 2015 2:28 pm

Arty wrote:I've already try this. But it looks like XnView get plugin supported extension from plugin dll name! It don't use information from gfpGetPluginInfo().
please send me it?
Pierre.

Arty
Posts: 26
Joined: Tue Jun 28, 2011 1:22 pm
Location: Belarus, Brest

Re: [2.31] 'Recognize by extension..' for user plugins

Post by Arty » Tue Mar 10, 2015 2:40 pm

Here is it https://dl.dropboxusercontent.com/u/37559409/xpvr.usr
It return "pvr;*" in extension parameter for gfpGetPluginInfo()

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

Re: [2.31] 'Recognize by extension..' for user plugins

Post by xnview » Wed Mar 11, 2015 8:02 am

ok, will be added in next version
Pierre.

Post Reply