[ZBX-11385] Host inventory cannot handle long hostnames Created: 2016 Oct 25  Updated: 2017 May 30  Resolved: 2017 Jan 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.2.1
Fix Version/s: 3.0.8rc1, 3.2.4rc1, 3.4.0alpha1

Type: Incident report Priority: Trivial
Reporter: Frank Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: css, layout
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File ie_th_alignment.png     PNG File inv_width.png     PNG File inventory_host.png     PNG File zabbix.enrise.com_Host_inventory_-_2016-10-25_10.25.40.png    
Issue Links:
Duplicate
is duplicated by ZBX-11653 Labels in nested tables are different... Closed

 Description   

If you view the Host inventory of a host with a very long name it overlaps as can be seen in the attached screenshot.

It appears to be caused by the following in the td of the DNS name:

<div style="width: 175px">


 Comments   
Comment by Pavel Amosov (Inactive) [ 2016 Nov 02 ]

We could replace the

width: 175px

with

min-width: 175px
Comment by Oleg Egorov (Inactive) [ 2016 Nov 04 ]

(1) No translation string changes.

iivs CLOSED

Comment by Oleg Egorov (Inactive) [ 2016 Nov 04 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-11385 r63532

Comment by Natalja Romancaka [ 2016 Nov 07 ]

(2) in Internet Explorer 9+ table headers are center aligned, but in other browsers left

PavelA RESOLVED in r63578

natalja.zabbix ui tested

iivs Is this the best we can offer? This totally doesn't look nice and professional. Each inventory is in a separate table, making it look ugly when the width of each table depends on DNS name. Additionally, when browser gets resized, the text may be visible outside the white background. This affects all browsers. Feel free to make new ZBX(s) on this subject, otherwise ...

REOPENED.

PavelA I suggest we make the following changes in those 4 divs:

<div style="width: 175px">
<div style="width: 295px" class="overflow-ellipsis">
<div style="width: 80px">
<div style="width: 50px">

oleg.egorov RESOLVED in r64465

gunarspujats CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Dec 21 ]

(3) Coding style

Constant ZBX_TEXTAREA_INTERFACE_USEIP_WIDTH is unused

oleg.egorov RESOLVED in r64643

gunarspujats CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Dec 22 ]

Tested

Comment by Oleg Egorov (Inactive) [ 2016 Dec 22 ]

Fixed in:

  • pre-3.0.8rc1 r64660
  • pre-3.2.4rc1 r64661
  • pre-3.3.0 (trunk) r64662
Comment by Alexander Vladishev [ 2016 Dec 27 ]

(4) Regression: using of magic numbers in code is bad practice of programming. Please fix it!

oleg.egorov Frontend side resolved in r64847, waiting for PavelA changed.

sasha scss changes shall be left without changes. REOPENED

oleg.egorov RESOLVED IN r64950

sasha CLOSED

Comment by Oleg Egorov (Inactive) [ 2017 Jan 09 ]

Fixed in:

  • pre-3.0.8rc1 r64951
  • pre-3.2.4rc1 r64952
  • pre-3.3.0 (trunk) r64953
Comment by Vladimir Silin (Inactive) [ 2017 Jan 10 ]

(5) Documentation for versions 3.0, 3.2, and 3.4 updated with new "inventory_host.png" screenshot:

sasha I made some changes in r65038:65040. Please update the screenshot.
REOPENED

VSI New screenshot added.

sasha CLOSED

Comment by richlv [ 2017 Feb 20 ]

(6) nitpicking on the changelog entry
"fixed interfaces displaying" -> "fixed interface displaying"

iivs Typos fixed directly in changelogs:

  • pre-3.0.9rc1 r66013
  • pre-3.2.5rc1 r66015
  • pre-3.3.0 (trunk) r66017

CLOSED

Generated at Fri Apr 26 15:34:11 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.