Visitar URL original
IDE cursor position is wrong if font size is changed in preferences on macOS · Issue #194 · processing/processing4 · GitHub
The Wayback Machine - https://web.archive.org/web/20211009211606/https://github.com/processing/processing4/issues/194
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

IDE cursor position is wrong if font size is changed in preferences on macOS #194

Open
thierry75 opened this issue May 7, 2021 · 9 comments
Open
Labels

Comments

@thierry75
Copy link

@thierry75 thierry75 commented May 7, 2021

Description

in preferences, settings a higher value in "Editor font size" results in having cursor blinking not at the real position, typing will result in inserting code at the wrong place

Expected Behavior

typing code where the cursor blink

Current Behavior

actual cursor is not where the cursor blink

Steps to Reproduce

set Editor font size to 14

Your Environment

  • Processing version: 4.03
  • Operating System and OS version: macOs Big sur and mojave
  • Other information: macbook pro

Possible Causes / Solutions

@benfry
Copy link
Member

@benfry benfry commented Jun 28, 2021

I'm not seeing this on my Mojave machine. What font are you using?

@sampottinger
Copy link
Collaborator

@sampottinger sampottinger commented Jul 25, 2021

Unable to reproduce in 11.4 on the default monospace font. Was this still a problem for you @thierry75?

Screen Shot 2021-07-24 at 6 11 00 PM

@benfry benfry changed the title ide cursor position is wrong if font size is changed in preferences IDE cursor position is wrong if font size is changed in preferences on macOS Jul 28, 2021
@benfry
Copy link
Member

@benfry benfry commented Jul 28, 2021

Saw this on someone else's macOS machine, but then wasn't able to reproduce it again. Also not sure if it's something when Processing 4 first runs, and a subsequent launch it's behaving better because preferences.txt has been updated properly.

Also not sure if it's the same as #226, but at the moment I suspect they're different. A lot has changed in the font sizing and prefs code—there was lots of badness in there, but clearly there's a regression.

@benfry
Copy link
Member

@benfry benfry commented Aug 1, 2021

For anyone having this issue on macOS, were you using a second display?

@benfry
Copy link
Member

@benfry benfry commented Oct 5, 2021

Folks, like the title says, this is only about macOS. There's at least one separate issue for Windows. The problem there is almost completely unrelated, even though the effect sounds similar. If you have Windows trouble, check this issue: #226. If that doesn't describe what you're seeing on Windows, please file a new issue.

Posts about Windows in this issue will be removed to avoid confusion.

@processing processing deleted a comment from simuloid Oct 5, 2021
@processing processing deleted a comment from samborkent Oct 5, 2021
@processing processing deleted a comment from kgmuzungu Oct 5, 2021
@processing processing deleted a comment from MysterELane Oct 5, 2021
@processing processing deleted a comment from spipsdew Oct 5, 2021
@benfry
Copy link
Member

@benfry benfry commented Oct 5, 2021

@allantarcy @pekisic are you using macOS or Windows?

@benfry benfry added the macos label Oct 5, 2021
@allantarcy
Copy link

@allantarcy allantarcy commented Oct 5, 2021

@allantarcy @pekisic are you using macOS or Windows?

Ow my bad sorry I'm on Windows

@pekisic
Copy link

@pekisic pekisic commented Oct 5, 2021

@allantarcy @benfry On Windows...

@benfry
Copy link
Member

@benfry benfry commented Oct 5, 2021

Got it, thanks for clarifying. I'll remove those so we can keep this one specific to the macOS issue. Definitely check #226 in case it's the same problem, or file something new if you're seeing different behavior.

@processing processing deleted a comment from pekisic Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants