Thread: [pgAdmin III] #76: Edit grid crash on Linux: adjusting selection

[pgAdmin III] #76: Edit grid crash on Linux: adjusting selection

From
"pgAdmin Trac"
Date:
#76: Edit grid crash on Linux: adjusting selection
-------------------------+--------------------------------------------------
 Reporter:  Dan Halbert  |       Owner:  dpage 
     Type:  bug          |      Status:  new   
 Priority:  major        |   Milestone:  1.10.1
Component:  pgadmin      |     Version:  trunk 
 Keywords:  editgrid     |    Platform:        
-------------------------+--------------------------------------------------
 Here's another edit grid bug: this one is a crash. I see this only on
 Linux, on both 1.8.4 and 1.10.0 Linux is Ubuntu 8.04 (jaunty), updated to
 latest packages as of today. If you want to know a specific gtk2 package
 version, let me know.

 1. Start up a fresh pgadmin3.
 2. Bring up an edit grid for a table.
 3. Click on a single cell in a leftmost data column.
 4. Scroll down so the selected cell is no longer visible.
 5. Shift-select a leftmost cell in a lower row.
 6. Press delete  (do not omit this step). Nothing appears to happen.
 7. Shift-click in the rightmost cell in the row used in step 4.
 8. Press Delete
 9. A segmentation fault occurs. gdb says it is in frmEditGrid::OnDelete().

 Step 4 is crucial: if you don't scroll it out of sight you just end up
 editing the selected cell. I'm not sure about the need for a fresh start
 (step 1), but it may be necessary, as doing some other editing before the
 steps above sometimes doesn't invoke the bug.

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/76>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

Re: [pgAdmin III] #76: Edit grid crash on Linux: adjusting selection

From
"pgAdmin Trac"
Date:
#76: Edit grid crash on Linux: adjusting selection
--------------------------+-------------------------------------------------
  Reporter:  Dan Halbert  |       Owner:  dpage   
      Type:  bug          |      Status:  closed  
  Priority:  major        |   Milestone:  1.10.1  
 Component:  pgadmin      |     Version:  trunk   
Resolution:  fixed        |    Keywords:  editgrid
  Platform:               |  
--------------------------+-------------------------------------------------
Changes (by gleu):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Fixed in r8039 and r8040.

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/76#comment:1>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

Re: [pgAdmin III] #76: Edit grid crash on Linux: adjusting selection

From
"pgAdmin Trac"
Date:
#76: Edit grid crash on Linux: adjusting selection
--------------------------+-------------------------------------------------
  Reporter:  Dan Halbert  |       Owner:  dpage   
      Type:  bug          |      Status:  closed  
  Priority:  major        |   Milestone:  1.10.1  
 Component:  pgadmin      |     Version:  1.10    
Resolution:  fixed        |    Keywords:  editgrid
  Platform:               |  
--------------------------+-------------------------------------------------
Changes (by gleu):

  * version:  trunk => 1.10


--
Ticket URL: <http://code.pgadmin.org/trac/ticket/76#comment:2>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III