[solved] Calendar crashes using the tab button |
Post Reply |
Author | |
Lifthrasil
Groupie Joined: 28 February 2017 Status: Offline Points: 10 |
Post Options
Thanks(1)
Posted: 28 February 2017 at 4:47am |
I start your sample version 17.3.0.0.
In this version I've the theme (important) Office 2013 -> Outlook activated and I do not fill the calendar with sample data. So it's empty. If I go to monday and create a new event, give it a name, check the "all day event" checkbox and press ok, this event is created. If I now press the "tab" key on my keyboard it's crashing. I'v not found your bug report interface , that's why I'm posting it here. |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello Lifthrasil,
Thank you for bringing this to our attention. There is exception "integer division by zero" in Source\Calendar\XTPCalendarDayView.cpp CXTPCalendarDayView::_EnsureVisibleV()
I have added this to our bug base. The problem will be addressed according to its priority. You will be notified through this forum topic about any progress on this task. For reports about bugs you can use form on our site https://www.codejock.com/support in menu Support > Request Support. Regards, Oleksandr Lebed |
|
Lifthrasil
Groupie Joined: 28 February 2017 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Hi!
The thing is, that we (Copa Data) have bought the calendar (source code) and actually we have this problem also in our program. So if I would know, that this issue is fixed in a certain amount of time, I would not have to invest time to find a temporary fix. Would this be possible? Would it then be possible to send us the code with the fix or a description what to fix, how and where? This would be really nice :D Thanks in advance for your support! |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
in file Source\Calendar\XTPCalendarDayView.cpp method CXTPCalendarDayView::_EnsureVisibleV()
I think you can use "max" to prevent division by zero, but I don't have enough time to check whole algorithm now.
|
|
Lifthrasil
Groupie Joined: 28 February 2017 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Hi!
No sorry, that's not working because there's an ASSERT popping up and the event is not visible anymore afterwards. It's not that urgent but if I would know that in the next 3 weeks it would be possible to get a bug fix for our version (we use an older one, 16.4.0.0) it would be very cool because then we would not invest time in it any more ;) Because until now I am a little bit confused. It seems that these variables are not initialized because when using Office 2013 Outlook the AdjustLayout function of the views isn't called, which would set them. But I am not sure if this is ok or not ;) |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello Lifthrasil,
We have solved this bug with fix below
Regards, Oleksandr Lebed |
|
Lifthrasil
Groupie Joined: 28 February 2017 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Hi!
Thank you very much for that fix! This works for us and I'm very happy about that! |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |