- Status Closed
- Percent Complete
- Task Type Bug Report
- Category QCAD (main)
-
Assigned To
andrew - Operating System All
- Severity Very Low
- Priority Very Low
- Reported Version 3.26.1
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Opened by nsdecicco - 10.04.2021
Last edited by andrew - 10.04.2021
FS#2225 - Filenames containing an ampersand do not render correctly in the tab bar and Window menu
If a file is opened whose filename contains an ampersand, the filename will be rendered correctly in the application titlebar, but the tab bar and the Window menu will not display the ampersand.
If, however, the ‘alt’ key is pressed, the ampersand will result in an underscore appearing beneath the character immediately following it in the filename string. This applies both to the titlebar and the Window menu.
Interestingly, this can be “exploited” by a user to quickly switch between tabs by pressing ‘alt’ and the character which follows the ampersand simultaneously. Likewise, a user can swap between windows using the Window menu in a similar fashion, by first pressing Alt+W, then Alt and the same key as before.
The expected result is that the ampersand is rendered, the underscore is not rendered, and the ‘alt’ key shortcuts don’t work.
It would appear that this is a simple case of failing to properly escape the ampersand in filenames before passing the filename string to various Qt methods.
10.04.2021 09:01
Reason for closing: Fixed
Additional comments about closing:
https://github.com/qcad/q cad/commit/42b847283eb1629ee10e6544a2a29 f95d67f2384
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task