-
-
Notifications
You must be signed in to change notification settings - Fork 732
Use fixed width font in the log viewer and the Python console #16321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The build can be downloaded here. I would like to have a visual feedback of this new appearance of the log viewer before passing this PR to ready. |
|
@Qchristensen or @gerald-hartig, could you please provide a visual feedback running this build, looking at the log viewer and the Python console? Or I may provide screenshots if you want, hoping that the resolution of the picture will be OK. Let me know. |
|
This PR is ready on my side. Adding Quentin or Gerald as reviewers to have a visual feedback. |
|
The new font looks good to me, happy to hear what @gerald-hartig and @Qchristensen think as well |
Co-authored-by: Sean Budd <seanbudd123@gmail.com>
|
Looks good to me. Thanks for the link to the snapshot build @seanbudd |
See test results for failed build of commit df3c55c751 |
…ss#16321) CyrilleB79 Collaborator CyrilleB79 commented on Mar 19 • Link to issue number: None Summary of the issue: Errors in the source code are indicated visually by "^" characters and has become more precise with Python 3.11. However, the characters used in log viewer or python console have not a fixed width so: visually, the wrong place of the source code is indicated for blind people, going on the error marker ("^" characters) and pressing upArrow to jump at the same column position in the source code's line is useless because the cursor does not land in the same column. Description of user facing changes Use a fixed width font in the log viewer and in the Python console. In the Python console, only the output field is impacted by vertical alignment considerations; however, for visual consistency I have modified both the input and the output fields. Description of development approach Change the log viewer's font to 'Consolas' which has fixed width and which is the one used in Notepad.
Link to issue number:
None
Summary of the issue:
Errors in the source code are indicated visually by "^" characters and has become more precise with Python 3.11.
However, the characters used in log viewer or python console have not a fixed width so:
upArrowto jump at the same column position in the source code's line is useless because the cursor does not land in the same column.Description of user facing changes
Use a fixed width font in the log viewer and in the Python console.
In the Python console, only the output field is impacted by vertical alignment considerations; however, for visual consistency I have modified both the input and the output fields.
Description of development approach
Change the log viewer's font to 'Consolas' which has fixed width and which is the one used in Notepad.
Testing strategy:
Manual tests:
Known issues with pull request:
None.
Code Review Checklist: