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

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

Moderators: XnTriq, helmut, xnview

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

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

Post by Arty »

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

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

Post by xnview »

new bug??

could you send me a sample file and the plugin?
Pierre.
Arty
Posts: 27
Joined: Tue Jun 28, 2011 1:22 pm
Location: Belarus, Brest

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

Post by Arty »

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

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

Post by xnview »

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: 27
Joined: Tue Jun 28, 2011 1:22 pm
Location: Belarus, Brest

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

Post by Arty »

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

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

Post by xnview »

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: 27
Joined: Tue Jun 28, 2011 1:22 pm
Location: Belarus, Brest

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

Post by Arty »

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

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

Post by xnview »

ok, will be added in next version
Pierre.
Post Reply