Opened 2 years ago

Last modified 2 years ago

#1436 new defect

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 (4)

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

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by bennie

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

Changed 2 years ago by bennie

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

Changed 2 years ago by bennie

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

Changed 2 years ago by bennie

Dump of the config.db session tables.

comment:1 Changed 2 years 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.