Bug 334805 - please switch display of comments to fixed width font
Summary: please switch display of comments to fixed width font
Status: RESOLVED FIXED
Alias: None
Product: bugs.kde.org
Classification: Websites
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDE sysadmins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-15 09:53 UTC by Martin Steigerwald
Modified: 2019-08-22 09:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Steigerwald 2014-05-15 09:53:13 UTC
As

https://bugs.kde.org/show_bug.cgi?id=333655#c39

shows reading output of commands used to help diagnosing issues is difficult with  proportional font.

Reproducible: Always

Steps to Reproduce:
Look at some tabular command output.
Actual Results:  

-------------------------- analysis date: 2014/05/15 --------------------------

11:14:10  disk           busy read/s KB/read  writ/s KB/writ avque avserv _dsk_                                                                      
11:14:20  sdb             11%    1.6     5.5   606.1    12.4   1.2   0.18 ms
          sda              7%    2.7     8.0   606.3    12.4   1.2   0.11 ms
11:14:30  sdb              2%    0.7    10.3    56.9    11.6   1.2   0.36 ms
          sda              1%    7.0    11.3    56.9    11.6   1.4   0.15 ms
11:14:40  sdb              1%    1.3     8.9    12.9    30.4   1.3   1.02 ms
          sda              0%    4.4     8.5    13.0    30.1   2.6   0.28 ms


Expected Results:  
Using a fixed width font like in:

https://bugzilla.mozilla.org/show_bug.cgi?id=307112

I found no way to use fixed width font for specific text. Does not seem that bugzilla supports some markup language.
Comment 1 Christoph Feck 2014-05-15 18:22:51 UTC
Comments that need formatting with a monospaced font are rare, so it should not be the default. Proportional text is much easier to read.
Comment 2 Philippe Cloutier 2019-07-17 20:31:02 UTC
I agree the default should not be changed. Martin, are you asking to change this for all the content of comments, or only optionally?
Comment 3 Martin Steigerwald 2019-08-21 19:39:22 UTC
Two things:

1) I believe it would be best if Bugzilla supported some kind of markdown like syntax to mark snippets of command line output and so on.

2) This Firefox 68.0.2 renders comments in this bug with a mono spaced font already. So the atop output from the bug text from 2015-05-15 is perfectly readable here.
Comment 4 Philippe Cloutier 2019-08-22 00:27:30 UTC
Thank you Martin,
Comments are indeed in pre elements, and their bz_comment_text class brings CSS font-family: monospace.

However, looking at https://bugzilla.mozilla.org/show_bug.cgi?id=1518264 it seems that Bugzilla may be heading to a proportional font by default. However, the change behind that appears to be a move to Markdown (for new comments only), and Markdown still allows monospace fragments. Moreover, the change appears to be in the bmo project, not in Bugzilla itself, so this may never end up here. Therefore, I am marking this as resolved. If you are concerned that text may become proportional, please retitle to something like "please keep displaying  comments with fixed width font" when reopening.
Comment 5 Martin Steigerwald 2019-08-22 09:43:41 UTC
Fine with me Filipus. Thank you.