google-code-export / gambas

Automatically exported from code.google.com/p/gambas
1 stars 0 forks source link

TreeView.RowToItem.296: #13: Null object (gambas3 r5302) #354

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1) Describe the problem.

Using the "listview" data-type sometimes causes "Null object" when clicking on 
a "blank" area.
_TreeView.RowToItem.296: #13: Null object
1: _TreeView.RowToItem.296
2: _TreeView.UpdateRowHeight.1275
3: _TreeView._UpdateItemHeight.1289
4: _TreeView.SortItem.587
5: _TreeView.Sort_Timer.1128

This worked fine on gambas 2.24.0

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: r5302
Operating system: Linux
Distribution: Ubuntu 10.04
Architecture: x86
GUI component: QT4
Desktop used: LXDE

3) Provide a little project that reproduces the bug or the crash.
Project is attached.

4) If your project needs a database, try to provide it, or part of it.

5) Explain clearly how to reproduce the bug or the crash.
Open the application and click on the left list on the items and then click in 
the view on the empty area (repeat it a few times if first time doesn't work)

6) By doing that carefully, you have done 50% of the bug fix job!

IMPORTANT NOTE: if you encounter several different problems or bugs, (for
example, a bug in your project, and an interpreter crash while debugging
it), please create distinct issues!

Original issue reported on code.google.com by uAle...@gmail.com on 8 Nov 2012 at 3:46

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by benoit.m...@gmail.com on 8 Nov 2012 at 5:27

GoogleCodeExporter commented 9 years ago
It should be fixed in revision #5305.

Original comment by benoit.m...@gmail.com on 8 Nov 2012 at 5:29

GoogleCodeExporter commented 9 years ago
I tested it again with r5305, but it isn't fixed yet.

I get the following error message (different line numbers):
_TreeView.RowToItem.296: #13: Null object
1: _TreeView.RowToItem.296
2: _TreeView.UpdateRowHeight.1276
3: _TreeView._UpdateItemHeight.1290
4: _TreeView.SortItem.588
5: _TreeView.Sort_Timer.1129

Reproduce:
Open project
single click on "Outside"
single click on "Humidity"
- Now it crashes on my system

Original comment by uAle...@gmail.com on 8 Nov 2012 at 8:15

GoogleCodeExporter commented 9 years ago
It should really be fixed with revision #5316.

Original comment by benoit.m...@gmail.com on 12 Nov 2012 at 8:06