[ZBX-7518] graph slider becomes too long when clicking "All" Created: 2013 Dec 10  Updated: 2017 May 30  Resolved: 2014 Jan 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.1
Fix Version/s: 2.2.2rc1, 2.3.0

Type: Incident report Priority: Minor
Reporter: Aleksandrs Saveljevs Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: graphs
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File slider.png    

 Description   

Go to "Profile" and set "Refresh" to 0 to disable refresh. Open a graph and exhibit patience for 10 minutes. Click on "All" in the slider. Observe that the left side of the slider has jumped out of its component (see slider.png).



 Comments   
Comment by Ivo Kurzemnieks [ 2014 Jan 07 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7518

Comment by Oleg Egorov (Inactive) [ 2014 Jan 08 ]

(1) Fix code:

			// calculate new gradation
			this.scrollbar.px2sec =
				(this.timeline.endtime() - this.timeline.starttime()) / this.scrollbar.size.scrollline;

			// scrollbar
			this.scrollbar.setBarPosition();
			this.scrollbar.setGhostByBar();
			this.scrollbar.setTabInfo();
			this.scrollbar.resetIsNow();

But to fix this problem enough

			// calculate new gradation
			this.scrollbar.px2sec =
				(this.timeline.endtime() - this.timeline.starttime()) / this.scrollbar.size.scrollline;

			// scrollbar
			this.scrollbar.setBarPosition();
			this.scrollbar.setGhostByBar();

iivs RESOLVED in r41366

oleg.egorov CLOSED

Comment by Oleg Egorov (Inactive) [ 2014 Jan 08 ]

TESTED

Comment by Ivo Kurzemnieks [ 2014 Jan 08 ]

Fixed in pre-2.2.2rc1 r41383 and pre-2.3.0 (trunk) r41384

Generated at Fri Mar 29 07:32:45 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.