LibreCAD icon indicating copy to clipboard operation
LibreCAD copied to clipboard

Keycode command line text

Open Questions2000 opened this issue 1 year ago • 5 comments

LibreCAD AppImage Linux / Debian 12 based distro / GTK based DE QT5 5.15.8

Couple requests regarding keycodes text that shows up in command line. 1.) When using keycodes mode, when you type in a command it shows the following item in the command line "Accepted Keycode:" was wondering if it could be considered to change this to the following instead "Keycode:" This is makes each item a simpler name, similar to how LC uses "Command:" Also all keycodes are accepted, because if they are not, the command just does not get activated.

2.) When using keycodes, it also does not give any indication of the command being run, like how regular "Command:" does Maybe can add the command similar to how regular commands do? Example Command: l (line)

Thank You

Questions2000 avatar Jun 22 '24 15:06 Questions2000

@dxli or anyone willing to update Thank you for working on this, everything works great but I just noticed one minor thing if interested.

For commands they show up in the command line like the following "Command:" "Unknown command:" but keycodes show up like "keycode:" "invalid keycode:" Would it be possible to capitalize so looks like "Keycode:" "Invalid keycode:" to match the title case used by the "Command" items

Sometimes I prefer titlecase personally but you may not, so can just go with what is mentioned above if decide to work on this. But this is what Titlecase (sometimes called Propercase) would look like where both words are capitalized "Unknown Command:" "Invalid Keycode:"

Anyways, thank you again for the updates you have made to this so far.

Questions2000 avatar Aug 27 '24 01:08 Questions2000

(If this title case is not agreed on then can just ignore this reply) If the "title case" idea is something that developers agree with, it could make those messages standout a little bit more visually, from the content that appears after the ":" such as commands, Linux paths, etc. which are typically mostly lower case text.

Anyways if this is decided upon, I just realized that there might be other multi word phrases that would need to be updated as well. I am not aware of them all, but here are another two for example that I recently realized

When opening a drawing “Loaded document:”

When saving a drawing "Saved drawing:"

Questions2000 avatar Aug 31 '24 02:08 Questions2000

I would agree being consistent is better.

I suppose this is an issue of English messages. Not all languages share the same set of capitalization rules, or even have alphabet.

dxli avatar Aug 31 '24 02:08 dxli

@dxli Thank you for responding. So does this mean that something like this will be added? At least in the English language version? Not sure how languages are handled.

If not would it be possible for someone to at least capitalize "Keycode:" "Invalid keycode:" just to match the two "Command:" items.

Thank you again

Questions2000 avatar Aug 31 '24 18:08 Questions2000

@dxli @sand1024

This one was being worked on but was stopped. It says Fixed, but not fully complete. This would just require capitalizing some words in the command line if anyone would like to finish this and then could be closed in regards to "Issues to close" 1902 list.

Questions2000 avatar Oct 02 '24 00:10 Questions2000