Menu

#1677 Crash while tabbing through grid cell editors

Fixed
nobody
None
Problematic
Defect
2011-02-08
2010-02-10
Anonymous
No

Originally created by: jhonsb...@gmail.com

I am new to the 5.0 beta, but i have an crash at first.
i would add an column to an table.
* selecting the table-tab
* click add
* type "artikel"
* press tab 4 times to move to the "null allowed" cullomn
booooom

crash report attached.

lg jan

1 Attachments

Related

Tickets: #1729
Tickets: #1866
Tickets: #1895
Tickets: #1939
Tickets: #1954
Tickets: #2023

Discussion

  • Anonymous

    Anonymous - 2010-02-11

    Originally posted by: a...@anse.de

    Hm, cannot reproduce that here. I cannot focus the checkbox columns - the 4th tab
    activates the editor for "Default value".

    Is that reproducible for you? Probably a one time glitch? (Unlikely but ho hum...)

    Status: NeedInfo

     
  • Anonymous

    Anonymous - 2010-02-11

    Originally posted by: jhonsb...@gmail.com

    yes, i can reproduce it. but only at that one table :-S

    try it with:

    CREATE TABLE `_inventur` (
        `id` INT(10) NOT NULL AUTO_INCREMENT,
        `timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
        `ean` VARCHAR(50) NULL DEFAULT NULL,
        `menge` DECIMAL(10,2) NULL DEFAULT NULL,
        `lager` VARCHAR(10) NULL DEFAULT NULL,
        `sn` VARCHAR(50) NULL DEFAULT NULL,
        `Artikel` INT(10) NULL DEFAULT NULL,
        PRIMARY KEY (`id`),
        INDEX `Index 2` (`sn`, `ean`)
    )
    ENGINE=MyISAM

    btw: heidi crashes when entering the "length" column.

     
  • Anonymous

    Anonymous - 2010-02-11

    Originally posted by: a...@anse.de

    Oh yes, with that table I can also reproduce it. WTF?

    Labels: Severity-Problematic
    Status: Accepted

     
  • Anonymous

    Anonymous - 2010-02-11

    Originally posted by: a...@anse.de

    Some effects healed by [r3070], but not all I'm afraid. Really mysterious.

     

    Related

    Commit: [r3070]

  • Anonymous

    Anonymous - 2010-02-11

    Originally posted by: jhonsb...@gmail.com

    updateded to 3070 but heidi is crashing. new bugreport attached.

    this is happening too, when editing an column an hit tab twice.

     
  • Anonymous

    Anonymous - 2010-02-13

    Originally posted by: a...@anse.de

    I spent 2 hours or so with this minor thingy, can't find how to avoid the AV, apart
    from removing the feature, that auto activates the cell editor in the next, tabbed
    cell. If I remove the line
      FTree.EditNode(FTree.FocusedNode, FTree.FocusedColumn);
    ... no AV happens, but the tabbed cell is only focused, not edited.

     
  • Anonymous

    Anonymous - 2010-02-13

    Originally posted by: a...@anse.de

    The last (top) line tells me that this could be a bug in VirtualTree itself
    (somewhere in InitNode):

    VirtualTrees          TBaseVirtualTree.InitNode
    VirtualTrees          TBaseVirtualTree.GetNextSelected
    VirtualTrees          TBaseVirtualTree.GetFirstSelected
    VirtualTrees          TBaseVirtualTree.WMKeyDown

     
  • Anonymous

    Anonymous - 2010-02-14

    Originally posted by: a...@anse.de

    Just noticed a relation to the width of the column "Default": If that column is not
    wide enough to hold the whole "CURRENT_TIMESTAMP" text, then the above AV happens. If
    it's wide enough, it does not happen.

     
  • Anonymous

    Anonymous - 2010-02-14

    Originally posted by: a...@anse.de

    (No comment was entered for this change.)

    Summary: Crash while tabbing through grid cell editors

     
  • Anonymous

    Anonymous - 2010-10-05

    Originally posted by: lesy...@gmail.com

    Sam issue with me. I using version 5.1.0.3546
    After I add a record, press tab to datatype, press tab again, then it happen. But after I close and restart app, I can't reproduce it

     
  • Anonymous

    Anonymous - 2011-02-08

    Originally posted by: a...@anse.de

    Hm. Not reproducible any longer. Could have been fixed during the recent VirtualTree update. Please report back if someone hits the issue again - I can't see it currently.

    Status: Fixed