displaycal-py3 icon indicating copy to clipboard operation
displaycal-py3 copied to clipboard

Elements using AuiNotebook tend to crash

Open p5k369 opened this issue 2 years ago • 4 comments

Tabs are not correctly drawn. That part can easily be fixed in DisplayCal. However the AuiNotebook class of the auibook module of wxpython has some methods which return values other classes and methods can't handle. In our case for example the CalculateNewSplitSize method. At this point it doesnt make sense to create floats.

This is also documented here: https://github.com/wxWidgets/Phoenix/issues/2208 https://github.com/wxWidgets/Phoenix/issues/2174

p5k369 avatar Sep 18 '22 02:09 p5k369

The bug can be experienced for example by opening the Profile upload window.

p5k369 avatar Sep 18 '22 18:09 p5k369

Hey @p5k369 I was trying to reproduce this issue but had a tone of other errors related to the Upload Profile... functionality, which I mentioned here #194. I did couple of fixes but I couldn't reproduce this error.

eoyilmaz avatar Oct 12 '22 14:10 eoyilmaz

Hey Erkan, are you using Python 3.10? I think before 3.10 this wasn't a problem. However, even before that it made no sense to draw 0.5 pixels.

p5k369 avatar Oct 12 '22 14:10 p5k369

aah you're right, apparently I was using Python 3.9 :+1:

eoyilmaz avatar Oct 12 '22 14:10 eoyilmaz