Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22506

Unneeded horizontal scroll appears on graph widget if widget displays an error message

XMLWordPrintable

    • Sprint 98 (Mar 2023)
    • 0.125

      Problem description: In case if there is an error displayed on the SVG graph widget, then a non-required horizontal scroll appears in this widget:

      Steps to reproduce (6.0, 6.2):

      1. Create a dashboard with a graph widget
      2. Open ui/app/controllers/CControllerWidgetSvgGraphView.php file
      3. Add "error('Error text');" line in the beginning of the doAction() method (the easiest was to get an error)
      4. Check the display of the graph widget

      Steps to reproduce (6.4, 7.0):

      1. Create a dashboard with a graph widget and a URL widget
      2. Open the manifest file of the URL widget (located in ui/widgets/url/manifest.json)
      3. Change the value of the ID field
      4. Check the display of the graph widget

      Result: a horizontal scroll bar is observed on he widget.
      Expected: there should be no horizontal scroll bar on the graph widget.

            averza Andrejs Verza
            solonkins Sergejs Olonkins
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: