pop-os / cosmic-edit

COSMIC Text Editor
GNU General Public License v3.0
221 stars 49 forks source link

Text area goes away when closing settings pane with the mouse #9

Closed leviport closed 9 months ago

leviport commented 9 months ago

To recreate:

https://github.com/pop-os/cosmic-edit/assets/13512097/b7bbd238-714e-4627-bda0-d5da9a82b862

Closing the Settings pane with Ctrl + comma does not make the document vanish, but a comma is inserted into the document upon closing the pane. The comma probably shouldn't be added to the document when using that hotkey to close the Settings pane.

jackpot51 commented 9 months ago

There appears to be a libcosmic bug where the modifiers sent to the text box are updated after the comma is sent, causing the comma to be inserted.

jackpot51 commented 9 months ago

Fixed by https://github.com/pop-os/cosmic-edit/commit/3fc8a76509faf5fa6a74254a4a6c8320b2209371