Device names displayed in rack view don't respect left rack boundary #5293

Closed
opened 2025-12-29 19:26:19 +01:00 by adam · 6 comments
Owner

Originally created by @cs-1 on GitHub (Sep 2, 2021).

NetBox version

v3.0.1

Python version

3.8

Steps to Reproduce

  1. Create a rack.
  2. Create a device without device front image that has a lengthy Vendor, Device Type and name.
  3. Add the device to the rack.

Expected Behavior

Long device names are truncated at rack boundaries when rack is rendered.

Observed Behavior

Long device names print over / under left rack boundary when being rendered (see screenshot).
screenshot

Originally created by @cs-1 on GitHub (Sep 2, 2021). ### NetBox version v3.0.1 ### Python version 3.8 ### Steps to Reproduce 1. Create a rack. 2. Create a device without device front image that has a lengthy Vendor, Device Type and name. 3. Add the device to the rack. ### Expected Behavior Long device names are truncated at rack boundaries when rack is rendered. ### Observed Behavior Long device names print over / under left rack boundary when being rendered (see screenshot). ![screenshot](https://user-images.githubusercontent.com/12844146/131797980-480eb374-ffeb-414a-a9cc-24aff65d8b2d.png)
adam added the type: bugstatus: needs ownerpending closure labels 2025-12-29 19:26:19 +01:00
adam closed this issue 2025-12-29 19:26:20 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 8, 2021):

I'm not able to replicate this. Device labels are cut off as expected. What browser are you using?

Screenshot_2021-09-08 Rack IDF128 NetBox

@jeremystretch commented on GitHub (Sep 8, 2021): I'm not able to replicate this. Device labels are cut off as expected. What browser are you using? ![Screenshot_2021-09-08 Rack IDF128 NetBox](https://user-images.githubusercontent.com/13487278/132568574-b0a60dbf-beeb-415d-bb29-bb3a6845cb38.png)
Author
Owner

@jeremystretch commented on GitHub (Sep 15, 2021):

Closing this as there has been no response from the reporter.

@jeremystretch commented on GitHub (Sep 15, 2021): Closing this as there has been no response from the reporter.
Author
Owner

@cs-1 commented on GitHub (Sep 16, 2021):

Hi Jeremy, I'm terribly sorry, I completely missed your response.

You actually did reproduce the bug. If you look closely at your screenshot you can actually see the white characters between the 41 and 40. It's very visible if you switch to dark mode.

@cs-1 commented on GitHub (Sep 16, 2021): Hi Jeremy, I'm terribly sorry, I completely missed your response. You actually did reproduce the bug. If you look closely at your screenshot you can actually see the white characters between the 41 and 40. It's very visible if you switch to dark mode.
Author
Owner

@jeremystretch commented on GitHub (Oct 4, 2021):

Putting this on hold until #6879 is addressed (to avoid overlap in work).

@jeremystretch commented on GitHub (Oct 4, 2021): Putting this on hold until #6879 is addressed (to avoid overlap in work).
Author
Owner

@github-actions[bot] commented on GitHub (Feb 8, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Feb 8, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Mar 10, 2022):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Mar 10, 2022): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5293