-
-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QMarkdownTextEdit changes font, and font size during Bold and Italic operations #335
Comments
Hm, not that I know of... Can you trace that back to a specific commit of QMarkdownTextEdit? |
Hey there ! Cheers! |
On my system, this issue doesn't happen with my qt6 fork (#386), but it does happen when launching the notes installed from the AUR (which obviously uses qt5) |
I found that the problem isn't that it changes the font size, but the problem is the bold and italic text are always at a fixed size. So resizing the text extremely small will result in something like this: And making the text bigger: As you can see, the bold and italic text are always the same size. Same thing with the font: always the same font, regardless of the settings. |
@zjeffer Good catch. Is it something with QMarkdownTextEdit? |
I haven't found the exact issue yet, but I noticed that even the headers don't seem to change size when resizing, but the font does change when changing to a different fontface. I will investigate further when I have more time. |
Yes, I noticed the same, but only on Macs if I remember correctly. Did you test on another OS? |
I only tested on linux. |
I don't remember noticing this behavior on Linux, but I'll test. |
Hi, which operating system are you using? You're mentioning a case that is not quite related to the current issue. But I do think that the font is a little bit off when styling code markdown on my machine as well. I think the problem is that the styled markdown font isn't affected by the overall font size that we set for the editor. |
I'm under Ubuntu on X11 compiled from source (at ec85126) Too be honest, this is much better and the qt6 merge might have reduced the impact of a bug that exists. But I'm talking out of my arse as I'm not familiar with the codebase. |
A user reported that our Markdown editor (QMarkdownTextEdit) changes font, and font size during Bold and Italic operations.
@pbek Is it due to a recent change?
The text was updated successfully, but these errors were encountered: