Hello,
I am testing UltraZoomPanel, and beside that bug with scroll bars when zoom factor i 1, I found another one. If I change size of UltraZoomPanel, i can see scroll bars both of UltraZoomPanel and WinGrid. If I change zoom factor for just one step, everything is OK. Any suggestions?
Picture is attached.
/community/resized-image/__size/800x500/__key/communityserver-discussions-components-files/1040/Scrollbar-error.png
Thanks
Hi,
If the grid has more rows that can be displayed, it will display scrollbars. Similarly if not all of its content is displayed in the DisplayRect of the ZoomPanel, it will also show scrollbars (unless the scrollbars are explicitly turned off or the control is docked). This is the expected behavior.
Are you saying that there is some case where the contents fit and the scrollbar is shown erroneously? The grid scrollbar and the ZoomPanel scrollbar are completely independent they don’t interact with each other. Please clarify the details of the unexpected behavior that you are observing.
Please let me know if you have any questions.
I attached video with the problem. Look at bottom scroll bar
https://www.dropbox.com/s/ladq879jq5rey1v/Error.mov?dl=0
Thanks,Ivan
Just to tell you that you are right, they are independent controls, sorry for that.
In this picture you can see I moved zoom panel scroll bar far to the right, and we can see grid's right scroll bar. Now I will change window size for just one pixel
And here is error. After window size changed, we can see zoom panel scroll bars at almost full width / height, and suddenly grid's scroll bars appears where they shouldn't be. It's like grid scroll bars replaced functionality of zoom panel scroll bars.
And i changed zoom factor by 1, and you can see that everything is back to normal, as in the first picture.Grid scroll bars moved to their position, and are not visible since zoom panel left bar is moved far left.
So what I need is when I change window size, zoom panel should be like in the first and last image. Hope you understand the problem?
Ivan
Hello Ivan,
We were able to observe the UltraZoomPanel behavior that you mentioned. I will log it in our internal system to give it attention and will post its development ID by 3:00pm EST tomorrow. Once I log it, a developer will review it and will suggest you a fix or workaround.
I have investigated UltraGrid showing the scrollbar when you resize the ZoomPanel, but then as soon as you change the zoom factor, the scrollbar goes away behavior, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 251936. This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will update you with any new information after the review.
Please let me know if you need more information.
Internally a fix has been made and this is currently awaiting testing to verify the fix. The fix was made in both 17.2 and 181. As long as the fix is verified, it will be in the next service release which is expected in July. If there are changes to the schedule they will be on the service release schedule.
Sahaja, any news about this subject? Will this fix be applied in both 17.2 and 18.1 once you fix it?
Thanks Sahaja, I will also try to find some work around. The main problem in my project is that all my controls are docked with Dock Manager, and whenever I change dock state of control (from floating to docked), it changes grid size and cause this error.