[ZBX-4495] Issue hint in Dashboard's last 20 Issues table can overlap the screen range Created: 2011 Dec 29  Updated: 2017 May 30  Resolved: 2012 Apr 27

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

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

Attachments: PNG File hint_overlap.png     File main.js.diff    

 Description   

Happens in all latest frontend versions.

it should never happen. if appearing hint has too many rows to be displayed, row count should be capped.
Also the hint itself should be moved up to fit the visible screen range without overlapping.

variant of the fix against 1.8.10 is attached. it doesn't limit hint's row count though.



 Comments   
Comment by Toms (Inactive) [ 2012 Apr 24 ]

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

Comment by Alexey Fukalov [ 2012 Apr 25 ]

(1)
if horizontal space is small, popup is shown at left side from mouse and can be out of left border.
Also sometimes popup is show at left side even if there is enough space at right side.

<Toms> if not enough horizontal space, what is your suggestion?

<Toms> popup is shown on the side where is more space.

<Vedmak> i think horizontal placing logic can be same as in current trunk.

<richlv> my suggestion
horizontally popup is always placed to the right, except when it would overflow the right border (in this case it's offset from the right border 10px). if it wouldn't fit in the horizontal space, it's offset from the left hand side by 2 px.
vertically it's always positioned below the cursor, except when it wouldn't fit below and would fit above

<Toms> RESOLVED in r27129

<Vedmak> CLOSED

Comment by Alexey Fukalov [ 2012 Apr 27 ]

(2)
In ie8 script error on popup hiding.

<Toms> RESOLVED in r27158

<Vedmak> CLOSED

Comment by Toms (Inactive) [ 2012 Apr 28 ]

Fixed in 2.0.0rc4 r27176

Generated at Fri Apr 19 19:10:21 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.