Bug 268606

Summary: Fix troublesome wrapping in comments in Bugzilla: bz_comment_text style="width: auto;"
Product: Services Reporter: Graham Perrin <grahamperrin>
Component: Bug TrackerAssignee: Bugmeister <bugmeister>
Status: Closed Works As Intended    
Severity: Affects Some People    
Priority: ---    
Version: unspecified   
Hardware: Any   
OS: Any   
URL: https://userstyles.world/style/7895/fix-troublesome-wrapping-in-comments-in-bugzilla-for-freebsd
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192883
Attachments:
Description Flags
Screenshot: two windows, the lower window appears better none

Description Graham Perrin freebsd_committer freebsd_triage 2022-12-28 03:06:56 UTC
Created attachment 239075 [details]
Screenshot: two windows, the lower window appears better

Yesterday's bug 262869 comment 8 is an example of a very frequent annoyance: 

* unwanted wrapping, which makes the text impossible to 
  read properly in the window.

Worked around in the attached screenshot: 

style="width: auto;"

Please: can this (or something like it) become a feature of Bugzilla for FreeBSD? 

Whilst not fixing _all_ troublesome cases, it might significantly improve UX for a majority of cases. 

Thanks
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-12-28 03:42:57 UTC
Style published at userstyles.world.

After this workaround, a Google search found what might be a better alternative (I know too little about CSS to tell what's good): 

<https://gist.github.com/alikins/2828329#file-rh_bugzilla-css-L30>
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-12-28 04:09:14 UTC
Edge case examples (a horizontal scroll bar may appear): 

* bug 258133 comment 8

* bug 236724 comment 20

* bug 263846 comment 5

* bug 266236 comment 0

* bug 268246 comment 4, from which I copied for test bug 192883 comment 5.
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-12-29 15:49:19 UTC
Bug 237666 comment 104, there's the large horizontal scrollbar beneath the comment. 

Bug 264689 comment 2, multiple horizontal scrollbars. 

264689 is bearable when widened with bz_comment_text auto, 237666 becomes unbearable. 

I do not imagine an easy fix, or workaround, for the effects of quote characters (I do understand why people use the character, without realising the need to manually wrap in Bugzilla), so I'll: 

* close this report

* continue with a user-controllable style, which I can (rarely) switch off.