Set default data pane tab

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Brother Gabriel-Marie
Posts: 286
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Set default data pane tab

Post by Brother Gabriel-Marie »

My MP is set up like this:

Left panel top:
folder browser/favourites browser

Left panel bottom:
preview/properties

Right panel:
general image file browser

When I start MP, the properties tab of the data panel is always the default. But I want the preview to be default so I don't have to change it back all the time.
How can I do that?
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Set default data pane tab

Post by XnTriq »

  1. Please make a backup of your current layout by selecting Save layout A in the Layout drop-down on the main toolbar. This will create a file named layout1.dat.
  2. Copy & paste the following “code” to a text editor near you and save the file as layout2.dat:

    Code: Select all

    [General]
    geom=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\xff\xff\xff\xfc\xff\xff\xff\xfc\0\0\x4\x3\0\0\x2\xe7\0\0\0\x14\0\0\0\"\0\0\x3\xcb\0\0\x2\xd6\0\0\0\0\x2\0\0\0\x4\0)
    
    [Browser]
    size=@Size(1024 697)
    state="@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\0\0\0\x1)\0\0\x2r\xfc\x2\0\0\0\x3\xfb\0\0\0\xe\0\x66\0i\0l\0t\0\x65\0r\0\x44\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\xfc\0\0\0\x34\0\0\x1\x33\0\0\0w\0\xff\xff\xfe\xfa\0\0\0\0\x2\0\0\0\x3\xfb\0\0\0\xe\0\x66\0o\0l\0\x64\0\x65\0r\0\x44\x1\0\0\0\0\xff\xff\xff\xff\0\0\0<\0\xff\xff\xfe\xfb\0\0\0\x12\0\x66\0\x61\0v\0o\0r\0i\0t\0\x65\0\x44\x1\0\0\0\0\xff\xff\xff\xff\xff\xff\xff\xff\0\xff\xff\xff\xfb\0\0\0\x12\0\x63\0\x61\0t\0\x65\0g\0o\0r\0y\0\x44\0\0\0\0\0\xff\xff\xff\xff\xff\xff\xff\xff\0\xff\xff\xff\xfc\0\0\x1k\0\0\x1;\0\0\0U\0\xff\xff\xfe\xfa\0\0\0\0\x2\0\0\0\x4\xfb\0\0\0\n\0p\0r\0\x65\0v\0\x44\x1\0\0\0\0\xff\xff\xff\xff\0\0\0U\0\xff\xff\xfe\xfb\0\0\0\x16\0P\0r\0\x65\0v\0i\0\x65\0w\0\x44\0o\0\x63\0k\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\xfb\0\0\0\b\0\x63\0\x61\0t\0\x44\0\0\0\0\0\xff\xff\xff\xff\0\0\0k\0\xff\xff\xff\xfb\0\0\0\n\0s\0\x65\0t\0s\0\x44\0\0\0\0\0\xff\xff\xff\xff\0\0\0k\0\xff\xff\xff\0\0\x2\xd3\0\0\x2r\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x2\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x12\0T\0o\0o\0l\0\x42\0\x61\0r\0 \0\x31\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)"
    thumbSize=@Size(128 128)
    useThumbSize=true
    thumbsPerColumn=6
    
    [Preview]
    info=@ByteArray(\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1\x1)
    tabs=true
    vTab=65407
    prevDocked=false
    
    [CatSets]
    history=@ByteArray(\0\0\0\x1\0\0\0\0)
    panel=@ByteArray(\0\0\0\x1\0\0\0\x3\xff\xff\xff\xff\x1\xff\xff\xff\xfe\x1\xff\xff\xff\xfd\x1)
  3. Move layout2.dat to the Folder for other files (Tools » Settings… » Integration » Paths » Other settings).
  4. Select Restore layout B in the Layout drop-down on the main toolbar.
  5. Let me know if this method produces the desired result.
User avatar
Brother Gabriel-Marie
Posts: 286
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: Set default data pane tab

Post by Brother Gabriel-Marie »

Wow - that's a pretty detailed trick.

Okay, so I did that. When I restore the layout, it changes the size of the lower right panel, so I know it's doing *something* and changes the tab to Histogram. But when I close and start MP, it still defaults to Properties.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Set default data pane tab

Post by XnTriq »

Thanks for giving it a try!
I found the following bug report for the beta of MP 0.82:
klaus2 ([url=http://newsgroup.xnview.com/viewtopic.php?p=133674#p133674]Layout #3 lost when changing the language[/url]) wrote:If i change the language, eg. from <autodetect> to english, and restart, the preview pane is away and replaced by the file file properties pane. I need to reattivate manually view layout #3.
Post Reply