Bug 475162 - Add hot keys for inserting headers - for non-Latin script languages like Ukrainian
Summary: Add hot keys for inserting headers - for non-Latin script languages like Ukra...
Status: CONFIRMED
Alias: None
Product: ghostwriter
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.04.3
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: megan.conkle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-03 06:26 UTC by nivus.ua
Modified: 2024-04-07 05:38 UTC (History)
1 user (show)

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


Attachments
Ghostwriter Format menu - no hot key for header (28.94 KB, image/png)
2023-10-03 06:26 UTC, nivus.ua
Details
Ukrainian keyboard layout - no # (31.86 KB, image/png)
2023-10-03 06:27 UTC, nivus.ua
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nivus.ua 2023-10-03 06:26:29 UTC
Created attachment 162044 [details]
Ghostwriter Format menu - no hot key for header

SUMMARY
Currently, there are hot keys for all kinds of markdown syntax under Format menu - except headers. Headers can be inserted either by adding ==== after text, or by starting it with #. The latter option is not on Cyrillic layouts like Ukrainian one - instead, № is present which doesn't work for Markdown. Thus, to insert a header that way, user must switch to US keyboard layout each time, which is:
- uncomfortable for the user, breaks their typing flow;
- inconsistent with having those for all other formatting options.

Having something as Ctrl+H to insert # in the beginning of line would work - by pressing it one more time the header will move to the next level. Or, combination used in some apps could work: 
Ctrl+Shift+1 for H1
Ctrl+Shift+2 for H2
Ctrl+Shift+3 for H3
Ctrl+Shift+4 for H4

References:
1. See attached Format menu screenshot - no header insert option.
2. For Ukrainian layout see Wikipedia page - note no # key https://en.wikipedia.org/wiki/Keyboard_layout#Ukrainian

STEPS TO REPRODUCE
1. Open Format menu.
2. Review options.

OBSERVED RESULT
No headers insert hot keys.

EXPECTED RESULT
There are hot keys for inserting headers, no matter what alphabet user's language uses - e.g. Cyrillic.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 23.04.3
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 nivus.ua 2023-10-03 06:27:18 UTC
Created attachment 162045 [details]
Ukrainian keyboard layout - no #