IPTC window resizing
Moderators: XnTriq, helmut, xnview, Dreamer
-
- Posts: 14
- Joined: Tue Nov 27, 2012 6:38 am
IPTC window resizing
I am using XnView with MS Windows 7 and I encounter the following problem with the IPTC window: after I have resized it, it becomes wider than the screen and it is impossible to change any more although the horizontal and diagonal arrows are available on the edges. The problem is only with the width — changing the height works ok. It looks as though XnView does not identify the actual width. I have tried to copy a former version of the ini files but it does not work. Uninstalling and simply reinstalling XnView is not sufficient either: you also have to “clean” the registry and we all know what a nice pleasant job it is, don’t we?
-
- Author of XnView
- Posts: 45321
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 14
- Joined: Tue Nov 27, 2012 6:38 am
Re: IPTC window resizing
Thank you for taking care so quickly!
If of any use:
¹ the screen of my laptop is set to 1366×768 pixels
² after it has frozen, it is impossible to widen the IPTC window any further
If of any use:
¹ the screen of my laptop is set to 1366×768 pixels
² after it has frozen, it is impossible to widen the IPTC window any further
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 45321
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 14
- Joined: Tue Nov 27, 2012 6:38 am
Re: IPTC window resizing
I had already tried that kind of things, like saving the initial version of the xnview.ini file just after installation or after setting up the options, and copying it back after the bug appeared, and it had not worked. This afternoon, I just deleted the line {geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x1\0\0\xff\xff\xfe\xd4\0\0\0\x8e\0\0\x4\xcd\0\0\x2M\xff\xff\xfe\xdc\0\0\0\xa9\0\0\x4\xc5\0\0\x2\x45\0\0\0\0\0\0)} from the IPTC section: no change.
So I tried deleting at once all the files in the XnViewMP directory (ie: .ini, .db and the defaults) and found out that the IPTC window was restored at last. Then I tried to delete them one by one in order to identify in which one the problem lies: and the “winner” is the IPTC.ini where I use very long lists in some keys (like 200 people names in key 118 for Contacts, or 100 in keys 90 and 92 for Cities and Sublocations, and some of those keys are 3000 characters long). Now, how that can affect the window resizing process is a nice after dinner topic to me…
So I tried deleting at once all the files in the XnViewMP directory (ie: .ini, .db and the defaults) and found out that the IPTC window was restored at last. Then I tried to delete them one by one in order to identify in which one the problem lies: and the “winner” is the IPTC.ini where I use very long lists in some keys (like 200 people names in key 118 for Contacts, or 100 in keys 90 and 92 for Cities and Sublocations, and some of those keys are 3000 characters long). Now, how that can affect the window resizing process is a nice after dinner topic to me…
-
- Author of XnView
- Posts: 45321
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 14
- Joined: Tue Nov 27, 2012 6:38 am
Re: IPTC window resizing
For some reason, I cannot attach any file (“extension not allowed” whatever the extension is). But here is what I believe to be the root of the problem (the fact that the heigth remained free was a clue)…
—1— Delete the IPTC.ini, launch XnView MP, select a picture or a set of pictures with no IPTC data, then open the IPTC window and ensure it is as small as possible. Now in the Source tab, enter Padova, Venesia and Italia in the City, State/Province and Country combo boxes. The names are short, aren't they? At that stage, you can (probably) resize the IPTC window width just as you wish.
—2— Close the IPTC window, quit XnView MP, open the IPTC.ini, replace keys 90, 92, 95 and 101 by the following values:
90=Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch, Padova
92=St Marys Church in the Hollow of the White Hazel near to the Rapid Whirlpool of LLantysilio of the Red Cave
95="Anglesey, Wales", Venesia
101=Italia, United Kingdom
then launch XnView, select the same picture or set of pictures, and open the IPTC window… You’ve probably noticed it’s much wider than it was last time you closed it, ain’t ? And you can't make it narrower, can you?
—3— The reason is the IPTC.ini now contains very long names in some keys [Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch, Padova] and [St Marys Church in the Hollow of the White Hazel near to the Rapid Whirlpool of LLantysilio of the Red Cave] and the width of the related combo boxes is constrained by the length of the longest item in the history list.
—1— Delete the IPTC.ini, launch XnView MP, select a picture or a set of pictures with no IPTC data, then open the IPTC window and ensure it is as small as possible. Now in the Source tab, enter Padova, Venesia and Italia in the City, State/Province and Country combo boxes. The names are short, aren't they? At that stage, you can (probably) resize the IPTC window width just as you wish.
—2— Close the IPTC window, quit XnView MP, open the IPTC.ini, replace keys 90, 92, 95 and 101 by the following values:
90=Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch, Padova
92=St Marys Church in the Hollow of the White Hazel near to the Rapid Whirlpool of LLantysilio of the Red Cave
95="Anglesey, Wales", Venesia
101=Italia, United Kingdom
then launch XnView, select the same picture or set of pictures, and open the IPTC window… You’ve probably noticed it’s much wider than it was last time you closed it, ain’t ? And you can't make it narrower, can you?
—3— The reason is the IPTC.ini now contains very long names in some keys [Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch, Padova] and [St Marys Church in the Hollow of the White Hazel near to the Rapid Whirlpool of LLantysilio of the Red Cave] and the width of the related combo boxes is constrained by the length of the longest item in the history list.
-
- Author of XnView
- Posts: 45321
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Author of XnView
- Posts: 45321
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France