Toolbar buttons for “cmd_Cut” & “cmd_Copy”
Posted: Wed Nov 26, 2008 1:50 am
XnView v1.95.3 won't use icon #37/#38 in main.bmp/main32.bmp when I'm adding buttons for cmd_Cut [ Cut ] and/or cmd_Copy [ Copy ] to the Browser's toolbar.
Various discussion boards for XnView and related products
https://newsgroup.xnview.com/
Prior to filing this bug report I went through all available 4th-generation skins — with the exception of “Cathy”.Clo wrote:- Ensure you that your <info> files are updated with version = 4
- You could test with "Version 4" skins -I have a lot on my Web page-
(including the famous "Text" one for blind people +Text-Voice converter !)
C:\Program Files\XnView\xnview.ini wrote:Code: Select all
[Start] BToolBar=1 BarFilename=C:\Program Files\XnView\foo.bar FlatButtonInToolbar=1 ShowTextInToolbar=0 ShowToolTipsInToolbar=1 ToolbarBrowserConfig=-1 ToolbarBrowserConfigHigh=-1 ToolbarName= ToolbarViewConfig=-1 ToolbarViewConfigHigh=-1 VToolBar=1
C:\Program Files\XnView\foo.bar wrote:Code: Select all
[Default Toolbar] count=0 [View Toolbar] count=2 button1=36 button2=37 [Browser Toolbar] count=2 button1=-1 button2=-1
• I don't use the main32.bmp either under XP-Pro because I set my screen as 16 BPP the most times.[View Toolbar]
count=23
button1=17
button2=0
button3=1
button4=3
button5=2
button6=42
button7=27
button8=31
button9=23
button10=5
button11=4
button12=34
button13=6
button14=7
button15=8
button16=9
button17=16
button18=44
button19=37
button20=15
button21=E:\XnVIew_190_beta\skins\Cathy\Ico_Plus\ico_00.ico
cmd21=CD E:\A1
button22=.\skins\Cathy\Ico_Plus\Ca¦n¦evas.ico
cmd22=cmd_CanvasResize
button23=35
Yes, in View mode everything works just fine. The Browser toolbar is the one that doesn't behave:Clo wrote:• Below, a part of my bar file <cathy> where the “Copy” pattern is set and works :[View Toolbar]
count=23
button1=17
button2=0
button3=1
button4=3
button5=2
button6=42
button7=27
button8=31
button9=23
button10=5
button11=4
button12=34
button13=6
button14=7
button15=8
button16=9
button17=16
button18=44
button19=37
button20=15
button21=E:\XnVIew_190_beta\skins\Cathy\Ico_Plus\ico_00.ico
cmd21=CD E:\A1
button22=.\skins\Cathy\Ico_Plus\Ca¦n¦evas.ico
cmd22=cmd_CanvasResize
button23=35
Editing foo.bar manually has no effect.C:\Program Files\XnView\foo.bar wrote:Code: Select all
[Browser Toolbar] count=2 button1=-1 button2=-1
These were actually the first steps I took in order to eliminate any user errors on my part.Clo wrote:- I would advise you to create a custom < MyDaughter.bar> file by hand like I did, and set it according to a certain V. 4 skin…
… and to complete with a few matching extra icons (even just with text or very succintcly drawn).
- Also, to move the old outdated skins into a repository folder…
- It seems that the standard names put a mess when you configure your bars in some cases.Cathy.bar
clo-s_project.bar
Losanges.bar
Medals.bar
Miroirs.bar
XnTriq wrote:I would appreciate if any Windows 2K user out there (Am I the last of our kind?) could verify this bug.
Here's a short summary:
- XnView v1.95.4 on Windows 2000 SP4
- Adding cmd_Copy/cmd_Cut to the View toolbar works.
- Adding cmd_Copy/cmd_Cut to the Browser toolbar only works, if you specify an external icon (e.g. Copy.ico/Cut.ico) to the button. Otherwise, a separator for each command is added to the toolbar.
Expected behavior: Icon #36/#37 of the chosen skin should be assigned to the buttons.
Fixed!xnview wrote:Please try XnView 1.96 beta