MP 0.34 Win: Tab width 'jumps' (especially long-filename)
Posted: Sat Jan 01, 2011 11:08 pm
To reproduce:
=rename any picture file to a long filename (I used 45 characters on a .png)
=launch the file in XnView MP (not by drag n drop) I used a separate 'open with' program- 'shelltoys choose program'
=You will notice the tab width stretches, upon file opening, to the full size of the filename but it only does this briefly
Actually in my tests this issue does not occur with drag 'n' drop of files onto so the interface. Also issue happened with an 8 character filename too as I thought it only did this with long filenames. So MP needs to read the tab width setting first before reading the filename+tab thumb, otherwise just copy the code that respects the tab width rightly when drag 'n' drop of file to interface.
-EDIT-
Ok, I just noticed launching some image files from 'recent files' menu does this tab behaviour too
=rename any picture file to a long filename (I used 45 characters on a .png)
=launch the file in XnView MP (not by drag n drop) I used a separate 'open with' program- 'shelltoys choose program'
=You will notice the tab width stretches, upon file opening, to the full size of the filename but it only does this briefly
Actually in my tests this issue does not occur with drag 'n' drop of files onto so the interface. Also issue happened with an 8 character filename too as I thought it only did this with long filenames. So MP needs to read the tab width setting first before reading the filename+tab thumb, otherwise just copy the code that respects the tab width rightly when drag 'n' drop of file to interface.
-EDIT-
Ok, I just noticed launching some image files from 'recent files' menu does this tab behaviour too