Skip to content
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

jiggling text and deviations in text cursor position #3900

Open
octaeder opened this issue Dec 6, 2024 · 6 comments
Open

jiggling text and deviations in text cursor position #3900

octaeder opened this issue Dec 6, 2024 · 6 comments

Comments

@octaeder
Copy link
Contributor

octaeder commented Dec 6, 2024

Environment

  • TeXstudio: This is not in 4.8.4, but in current dev
  • Qt: 6.8.0
  • OS: Windows(10)
  • TeX distribution: miktex

Expected behavior

cursor mark should be positioned correctly, text should not move

Actual behavior

see images below, I assume that this is introduced with Qt6.8.

How to reproduce

It seems to be a random effect, difficult to reproduce. First I set the cursor at the beginning of diam near start oft the first line. Character d and the mark fit closely. Then I set cursor mark to the same word near end of the second line. The mark is about 1/3 of character width mispositioned to the left (this can be quite irritating). I select the word (ctrl+d) and deselect the word (macro with ctrl+q). Be aware of the movement of the following text (2px, character width 7px). Font used is JetBrains Mono in size 9. Maybe there's another change for fonts like I fixed in #3548.

jigglingText

jigglingTextMagnified

random text used Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et
@sunderme
Copy link
Member

sunderme commented Dec 8, 2024

works fine on ubuntu.
qt6.8.1 will come up soon.

@sunderme
Copy link
Member

do you still see the issue with rc2 ?

@octaeder
Copy link
Contributor Author

indeed, I tested with portable version after copying my .ini file:
TeXstudio 4.8.5 (git 4.8.5rc2)
Using Qt Version 6.8.1, compiled with Qt 6.8.1 R

Maybe you are talking about Qt6.8.2 announced for 23.01.2025?

@sunderme
Copy link
Member

so, you still,see the issue with txs 4.8.5rc2?

@octaeder
Copy link
Contributor Author

yes

@octaeder
Copy link
Contributor Author

I updated my msys2 to Qt6.8.1. Same issue. Let's hope for 6.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants