Ticket #1436 (new defect)

Opened 13 months ago

Last modified 13 months ago

Display of sessions in "Open Session" has possible off-by-one error?

Reported by: bennie Owned by:
Priority: major Milestone:
Component: Session Management Version: 0.97
Keywords: osx Cc:

Description

With multiple sessions, the Open Session dialog has a "blank" entry and one of the sessions is missing. (screen shot 01)

If you change the sort order, all sessions appear. (screen shot 02)

Attempting to open the blank session results in an error. (screen shot 03)

A check of the tables in the config.db seems to check out. (log attached.)

Version info:

                   Padre 0.97
Core...
                  osname darwin
                archname darwin-thread-multi-2level
                    Perl 5.12.4
                 Threads 2
                     RAM (unsupported)
Wx...
                      Wx 0.9904
               WxWidgets 2.8.12
                 unicode 1
        Alien::wxWidgets 0.55
 Wx::Perl::ProcessStream 0.30
           Wx::Scintilla 0.34
Other...
                     PPI 1.215
           Debug::Client 0.20
       PPIx::EditorTools 0.15
                  Config /Users/phil/Documents/work/padre/Padre/.padre

                   Padre 0.97
Core...
                  osname darwin
                archname darwin-thread-multi-2level
                    Perl 5.12.4
                 Threads 2
                     RAM (unsupported)
Wx...
                      Wx 0.9904
               WxWidgets 2.8.12
                 unicode 1
        Alien::wxWidgets 0.55
 Wx::Perl::ProcessStream 0.30
           Wx::Scintilla 0.34
Other...
                     PPI 1.215
           Debug::Client 0.20
       PPIx::EditorTools 0.15
                  Config /Users/phil/Documents/work/padre/Padre/.padre

Attachments

01-default.png (66.3 KB) - added by bennie 13 months ago.
Default appearance of "Open Session" window. Blank row selected for highlight.
02-change-sort.png (77.3 KB) - added by bennie 13 months ago.
After changing the sort order, (in this case, "name") all sessions appear properly.
03-openerror.png (63.0 KB) - added by bennie 13 months ago.
The error if you try to open the "blank" session line.
sqllite-session.txt (934 bytes) - added by bennie 13 months ago.
Dump of the config.db session tables.

Change History

Changed 13 months ago by bennie

Default appearance of "Open Session" window. Blank row selected for highlight.

Changed 13 months ago by bennie

After changing the sort order, (in this case, "name") all sessions appear properly.

Changed 13 months ago by bennie

The error if you try to open the "blank" session line.

Changed 13 months ago by bennie

Dump of the config.db session tables.

comment:1 Changed 13 months ago by bennie

I tried cleaning the session with P-P-Cookbook recipe 04. It did not resolve the issue.

Note: See TracTickets for help on using tickets.