[ZBX-2843] slideshow refresh time popup menu too wide Created: 2010 Aug 09  Updated: 2017 May 30  Resolved: 2011 Dec 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 1.8.10, 1.9.9 (beta)

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

Attachments: JPEG File dashboard.jpg     PNG File menu-trunk.png     PNG File slideshow_refresh.png    
Issue Links:
Duplicate
is duplicated by ZBX-3087 Need a more wide pop-up for 'Create L... Closed

 Description   

see the screenshot. this menu should be half as wide as it currently is



 Comments   
Comment by richlv [ 2011 Nov 16 ]

(2) unfortunately, refresh menu now completely fails in opera 11.52 :

Uncaught exception: TypeError: Cannot convert 'get_style(test_element, 'font-size')' to object
Error thrown at line 11966, column 1 in get_real_text_width(text) in jsLoader.php?ver=1.8.9rc1&lang=en_gb:
var font_size = parseInt(get_style(test_element, 'font-size').split('px')[0]);
called from line 11987, column 2 in show_popup_menu(e, content, width) in jsLoader.php?ver=1.8.9rc1&lang=en_gb:
tmp_width = get_real_text_width(content[i][0]);
called from line 11838, column 1 in create_page_menu(e, id) in jsLoader.php?ver=1.8.9rc1&lang=en_gb:
show_popup_menu(e, dbrd_menu);
called from line 1, column 12 in <anonymous function>(event):
create_page_menu(event,"hat_slides");

<sanja> RESOLVED

<richlv> not sure about mozilla referenced in commit, but works fine in opera now -> CLOSED

Comment by Alexander Sorokin (Inactive) [ 2011 Nov 16 ]

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

Comment by richlv [ 2011 Nov 16 ]

for the record, dev branch rev 23266 works fine in konqueror 4.6 as well

Comment by Igor Danoshaites (Inactive) [ 2011 Nov 16 ]

Checked this change (from dev branch) for the v1.8 when using FF 7.0, IE 8.0, IE 9.0, Opera 11.01, Safari 5.0.3 and Chrome 15 browsers.

Comment by Alexander Sorokin (Inactive) [ 2011 Nov 23 ]

<sanja> Fixed in 1.8 and trunk

Comment by Alexander Vladishev [ 2011 Dec 06 ]

(3) Not all menus are correctly displayed
https://support.zabbix.com/secure/attachment/17592/dashboard.jpg

<sanja> RESOLVED

<pavels> If item names will be too long, the menu won't fit on the screen. We should probably truncate them to some reasonable size. REOPENED.

<sanja> RESOLVED

<pavels> Please review my last commit r23946. After that you can merge. TESTED.

Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 08 ]

(4) [GUI] The text in the menu in the trunk is truncated incorrectly.
https://support.zabbix.com/secure/attachment/17598/menu-trunk.png

<sanja> RESOLVED

<pavels> Merge to 1.8 and then, if there are no conflicts, to the trunk.

Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 13 ]

TESTED.

Comment by Alexander Sorokin (Inactive) [ 2011 Dec 14 ]

Merged to 1.8 and trunk

Comment by Alexander Vladishev [ 2011 Dec 19 ]

items.php: The menu of creation of trigger expressions isn't displayed

Comment by Alexey Fukalov [ 2011 Dec 20 ]

dev branch: svn://svn.zabbix.com/branches/dev/ZBX-2843

Comment by Alexander Vladishev [ 2011 Dec 20 ]

Tested successfully.

Comment by Alexey Fukalov [ 2011 Dec 20 ]

merged: svn://svn.zabbix.com/branches/1.8 24105

Comment by richlv [ 2011 Dec 21 ]

(5) changelog entry missing in trunk changelog
<Vedmak> thanks

Comment by Alexey Fukalov [ 2011 Dec 21 ]

merged: svn://svn.zabbix.com/trunk 24122

Generated at Fri Apr 19 02:01:51 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.