Appointment views - problem

For users or potential users.
Post Reply
kral@fortech.cz
Posts: 5
Joined: Wed Dec 12, 2018 12:32 pm

Appointment views - problem

Post by kral@fortech.cz » Wed Dec 12, 2018 12:49 pm

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.

User avatar
jsalmon
Posts: 1551
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Appointment views - problem

Post by jsalmon » Wed Dec 12, 2018 3:04 pm

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
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

kral@fortech.cz
Posts: 5
Joined: Wed Dec 12, 2018 12:32 pm

Re: Appointment views - problem

Post by kral@fortech.cz » Wed Dec 12, 2018 10:15 pm

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.

User avatar
jsalmon
Posts: 1551
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Appointment views - problem

Post by jsalmon » Thu Dec 13, 2018 9:07 am

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.
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

User avatar
jsalmon
Posts: 1551
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Appointment views - problem

Post by jsalmon » Fri Dec 14, 2018 4:22 pm

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
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

Post Reply