[ZBX-22190] Drag and drop trigger list in maps not working properly if trigger name consists of more than one line Created: 2023 Jan 10  Updated: 2023 Aug 16  Resolved: 2023 Aug 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.30, 6.2.6, 6.4.0beta6
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Ivo Kurzemnieks Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: configuration, css, draggable, lists, map, maps, triggers, ui
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File maps_triggers.mp4    
Issue Links:
Sub-task
Sprint: Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023)

 Description   

Steps to reproduce:

  1. Navigate to Monitoring->Maps;
  2. create or edit a map;
  3. create or edit a trigger type element;
  4. in "New triggers" multiselect find triggers that names consist of both one lines and some that span across multiple lines. Most likely you will find them in "Zabbix server" host;
  5. press "Add" to add them to the "Triggers" list;
  6. now make sure you have order set up like so:
    :: "trigger name 1" Remove
    :: "very long trigger name that is in
    two lines 1"
    Remove
    :: "very long trigger name that is in
    two lines 2"
    Remove
    :: "trigger name 2" Remove
  7. try dragging second to last trigger to the last position;

Result:
See recording.

  1. The long trigger name cannot be placed in last position as it doesn't allow the dragging all the way to the bottom, but stops few pixels above the last row (sometimes works if mouse is dragged completely out of bounds);
  2. while dragging, the whole row suddenly jumps by few pixels to left side;
  3. coordinates row and URLs label and inputs move down by one pixel below (in HC theme "Add" button and underline for Remove link also moves);
  4. sometimes "Add" link in "New triggers" list also moves down by one pixel if last row is being dragged;
  5. in HC theme dragging first row, icon of last row is moving one pixel down (and labels of URLs block also move).

Expected:
No issues with dragging.



 Comments   
Comment by Alexander Vladishev [ 2023 Aug 09 ]

Fixed in scope of other development in 6.0.22rc1, 6.4.7rc1 and 7.0.0alpha5.

Generated at Sat Apr 05 08:06:40 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.