Thanks for the work, Edward! As of rev 5851, there is still one minor quirk, which I've reported on the bug tracker:

Still one minor quirk with this one (step 7) as of rev 5851:

1) Open Leo with no files (should open workbook.leo)
2) Note title - "workbook.leo in C:\Users\whatever"
3) File -> Open, open another .leo file
4) Note the title for that one - "myleofile.leo in C:\file\location"
Now for the inconsistency:
5) File -> New, save as test.leo as in first quirk above
6) Switch tabs back and forth as in step 4 in first quirk above
7) Note the title - "test.leo in C:/file/location/test.leo" (with wrong backslash type) <<----

This one is less breaking than before, and likely has something to do with splitting the string somewhere.


-->Jake

On 8/4/2013 8:50 PM, Edward K. Ream wrote:
On Sunday, August 4, 2013 6:17:06 AM UTC-5, Edward K. Ream wrote:


    A quick check shows that the window title is updated properly when
    no tabs are used.  So tabs are part of the problem.  I'll fix this
    today.


Fixed at rev 5850. This turned into quite a project. Here is the checkin log:

The main fixes were to qtFrame.get/setTitle. When using tabs, the LeoTabbedTopLevel widget is the top-level window, *not* the DynamicWindow (a QMainWindow).

Another fix was setting c.frame.title in saveAs to c.computeWindowTitle(c.mFileName). This ensures that all all window titles have the same format.

All tests pass, and the fixes were, after many false starts, in the end quite simple. Please report any problems immediately.

Edward



    Edward

--
You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to