penpot / penpot

Penpot: The open-source design tool for design and code collaboration
https://penpot.app
Mozilla Public License 2.0
33.59k stars 1.69k forks source link

bug: Cmd + U shortcut to underline text doesn't work during text editing #5078

Closed dfelinto closed 3 weeks ago

dfelinto commented 2 months ago

Steps To Reproduce

  1. Add a new text
  2. Edit the text (write Penpot)
  3. Select the P
  4. Try Ctrl + u / Cmd + u

Expected behavior

I would expect P to get underscored.

Actual behavior

Nothing happens.

Screenshots or video

The "misleading" tooltip:

image

Desktop (please complete the following information)

macOS 14.5 Chrome: Version 128.0.6613.119 (Official Build) (arm64)

Smartphone (please complete the following information)

No response

Environment (please complete the following information)

https://design.penpot.app/

Frontend Stack Trace

No response

Backend Stack Trace

No response

Additional context

The only way of making this work is by manually clicking on the U icon.

For the records, this is what I was doing:

image

As you can see each line gets a different character to be underlined. To have to manually expand the styling menu and clicking on the U was a bit annoying.


Thank you :)

madalenapmelo-kp commented 2 months ago

Hi @dfelinto,

Thanks for reporting this! I noticed that this is the case for all text editing shortcuts so I've added this to our backlog on Taiga so that we can look further into it, you can find the details here: https://tree.taiga.io/project/penpot/issue/8724

madalenapmelo-kp commented 3 weeks ago

This issue has been fixed and the fix will be released soon!

dfelinto commented 3 weeks ago

Thanks @madalenapmelo-kp :)