[ZBX-4295] icons may end outside of the map Created: 2011 Oct 28  Updated: 2017 May 30  Resolved: 2012 Mar 01

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 2.0.0rc1

Type: Incident report Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: maps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File icon_outside_map.png    
Issue Links:
Duplicate
is duplicated by ZBX-4673 icons get cut off in the configuratio... Closed
is duplicated by ZBX-4442 Incorrect JavaScript for URL handling... Closed

 Description   

while several cases have been fixed, it is still possible for icons to end up outside of the map area.

create a 100 px high map, add an icon. change icon to "server (128)", apply. change the icon to "rackmountable server 3d (128)", apply. icon is positioned outside the map area (in the db, y position is -30). it should also be verified that api has some sane validation for icon placement (negative placement might be allowed, but not if it's > than 50% of icon width height or such)

(you may use images from create/images/png directory to reproduce this problem)



 Comments   
Comment by Toms (Inactive) [ 2012 Feb 17 ]

Unable to reproduce the problem.

Comment by Toms (Inactive) [ 2012 Feb 17 ]

Unable to reproduce the problem.

Comment by richlv [ 2012 Feb 17 ]

the specific problem indeed seems to be gone in trunk rev 25445

Comment by Oleksii Zagorskyi [ 2012 Feb 18 ]

For the record: I cannot reproduce it with any release 1.9.5-1.9.9 and latest trunk.
Even tried revision 22784 (merged 2011 Oct 28 15:27) - still not reproducible.

Probably we have to always note a revision when we create trunk bug reports (actually we are doing that lately ).

So I'd change resolution to "Cannot reproduce"

Comment by Toms (Inactive) [ 2012 Feb 23 ]

It is possible to put an icon and after resizing the map enough small icon comes out of it.

Comment by Toms (Inactive) [ 2012 Feb 23 ]

Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-4295

Comment by richlv [ 2012 Feb 23 ]

would this also fix ZBX-4673 ?

Comment by Toms (Inactive) [ 2012 Feb 24 ]

Yes, it will fix 4673.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 28 ]

TESTED.

Comment by Toms (Inactive) [ 2012 Feb 29 ]

Fixed in pre-1.9.10 r25680

Generated at Sat Apr 27 01:34:40 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.