Project

General

Profile

Bug #10247

Hostname tooltip are truncated

Added by Jérôme Vizcaino about 5 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Howto reproduce :

  • create a host with a long FQDN (30+ chars)
  • goto to 'All hosts' page
  • full hostname is truncated and hovering with mouse renders a tooltip
  • tooltip truncates the displayed FQND

Bug is related to #2879

Looking at different results, it seems the tooltip width (or max-width) is hardcoded, therefore not adapting to the actual text width.


Related issues

Related to Foreman - Bug #5733: Puppet class names get shortenedResolved2014-05-15

History

#1 Updated by Dominic Cleal about 5 years ago

  • Related to Bug #5733: Puppet class names get shortened added

#2 Updated by Sebastian Gerhards about 5 years ago

It would be nice, if it would be possible to set a default max-size for the trunc_with_tooltip function in the settings section of the foreman web-ui to override the default of 32 characters. Thus it would render the hardcoded values in the HTML templates superfluous.

Otherwise the size could be made dependent on the width of the column. Usually there is lots of usable space left in the rows.

#3 Updated by Tomer Brisker almost 5 years ago

  • Status changed from New to Resolved
  • Legacy Backlogs Release (now unused) set to 35

This is fixed for 1.9. Fixed by the PR for #8861.
Please reopen if occurs again with Foreman >= 1.9.

Also available in: Atom PDF