Page 1 of 1

Appointment views - problem

Posted: Wed Dec 12, 2018 12:49 pm
by kral@fortech.cz
Hi,

I found a problem when I switch between appointment views. One view is set 1 rows per time increment and second view have 3 rows. When is switching between them, then exception hapens.
Exception occurs at LayoutScrollOpProv() - at line vScrollBar1.Value=Math.Min(oldVScrollVal*ContrApptSheet2.Height/oldHeight,Math.Max(vScrollBar1.Maximum-vScrollBar1.LargeChange,0)); when oldVScrollVal < 0.
Change to vScrollBar1.Value=Math.Min(Math.Max(0,oldVScrollVal*ContrApptSheet2.Height/oldHeight),Math.Max(vScrollBar1.Maximum-vScrollBar1.LargeChange,0)); and it looks good.

Thanks.

Re: Appointment views - problem

Posted: Wed Dec 12, 2018 3:04 pm
by jsalmon
What version of Open Dental are you using?
Although I can't duplicate an exception there does seem to be a problem with redrawing an appointment view that changes the rows per increment value. We'll create a bug ticket and get working on that.
http://opendentalsoft.com:1942/ODBugTra ... sions.aspx

Re: Appointment views - problem

Posted: Wed Dec 12, 2018 10:15 pm
by kral@fortech.cz
I seen it in 18.2, now I test 18.5 and it is same.
Reason that you can't duplicate an exception can by a screen resolution. I have vertical monitor and all day is showing with white strips shows before and after. Time resolution is 15min. 24 hour is shorter than screen. View (1 rows per time) is selected. Now change view to other (3 rows per time) and exception occurs.

Re: Appointment views - problem

Posted: Thu Dec 13, 2018 9:07 am
by jsalmon
That's very helpful information, I'll forward that to the engineer that is working on the basic redraw bug that he found and have him make sure the vertical monitor scenario works as well.

Re: Appointment views - problem

Posted: Fri Dec 14, 2018 4:22 pm
by jsalmon
The bug "Appointment module, appointment grid didn't redraw properly when changing the view sometimes." has been fixed and will be released with v18.3.35 and v18.4.5.
http://opendentalsoft.com:1942/ODBugTra ... sions.aspx