ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7518

graph slider becomes too long when clicking "All"

    Details

    • Type: Incident report Incident report
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.2rc1, 2.3.0
    • Component/s: Frontend (F)
    • Labels:

      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).

        Activity

        Hide
        Ivo Kurzemnieks added a comment -

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

        Show
        Ivo Kurzemnieks added a comment - RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7518
        Hide
        Oleg Egorov added a comment - - edited

        (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();
        

        Ivo Kurzemnieks RESOLVED in r41366

        Oleg Egorov CLOSED

        Show
        Oleg Egorov added a comment - - edited (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(); Ivo Kurzemnieks RESOLVED in r41366 Oleg Egorov CLOSED
        Hide
        Oleg Egorov added a comment -

        TESTED

        Show
        Oleg Egorov added a comment - TESTED
        Hide
        Ivo Kurzemnieks added a comment -

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

        Show
        Ivo Kurzemnieks added a comment - Fixed in pre-2.2.2rc1 r41383 and pre-2.3.0 (trunk) r41384

          People

          • Assignee:
            Ivo Kurzemnieks
            Reporter:
            Aleksandrs Saveljevs
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: