redundant columns in project list of PTBatcherGUI

Bug #892508 reported by zarl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Undecided
Unassigned

Bug Description

Usually (i.e. using defaults in Hugins "stitch" dialog) both project file and output files are located in the same folder. If that's the case both columns "Project" and "Output prefix" in the project list of PTBatcherGUI display almost the same information: each shows the complete path to the project while "Project" shows the "pto" extension and "Output prefix" hides it.

A more concise presentation would rearrange order (first file, then path) and omit the path in the second column if both paths are identical, e.g. like this:
Project column: <project-name>.pto (in /path/to/my/project/in/progress/)
Output prefix column: <output-prefix>

If both paths differ then only the relative difference of the second path is shown, e.g. like this:
Project column: <project-name>.pto (in /path/to/my/project/in/progress/)
Output prefix column: <output-prefix> (in ../../stitched/)

Another approach would be to only show the path as 'help text' when hovering with the mouse over one of these columns.

Also, PTBatcherGUI doesn't remember column widths set by the user. Preset column width is absurd, i.e. too long for "ID" and too short for some other columns. An automatic approach to set the width according to the content would be nice to have. If the user sets the width this should be remembered by PTBatcherGUI.

Current behaviour is observed in recent versions of Hugin / PTBatcherGUI on Mac OS X using a 1600x1200 display, on smaller screens (e.g. laptops) this might be rather annoying.

Revision history for this message
tmodes (tmodes) wrote :

Made the prefix display relative to the path of the project file in rev dfe005333233.

Concerning the column width: there is code to store and recall the column width. It is stored in the settings under BatchList\ColumnWidthx. This works here on windows. Could you check, if these items exists in the settings. Or maybe on wxMac the column width is handled different?
Please use one ticket per issue. Otherwise it becomes difficult to track the different issues in one ticket.

Changed in hugin:
status: New → Fix Committed
tmodes (tmodes)
Changed in hugin:
milestone: none → 2012.0beta1
hvdwolf (hvdwolf)
Changed in hugin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.