View Single Post
Old 04-18-2025, 08:55 AM   #23
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,890
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
I might have an explanation. Inside Qt, tabbing to an "anchor" (something that might have a context menu) gives me a X position that appears to be the top right corner of the box. The Y position is inside the box. Backtabbing in gives me an X position that appears to be the top left corner of the box with the Y position inside the box.

Theory: there are some situations where using tab-in, the position "misses" the corner because of rendered string length. I can imagine this happening if the screen scale is set to more than one hundred or if using a font where the size might need rounding when being rendered.

Questions:
  • What is your screen scale?
  • What font are you using?
  • Does it happen if you use a fixed width font?
Looks like you've found the 'bug'

What is your screen scale?

Click image for larger version

Name:	Screenshot 2025-04-18 214333.jpg
Views:	39
Size:	210.4 KB
ID:	215090
[*]What font are you using?

Click image for larger version

Name:	Screenshot 2025-04-18 214502.jpg
Views:	37
Size:	209.6 KB
ID:	215091

Does it happen if you use a fixed width font?

Yes, but some things that are 'good' with Segoe UI are 'bad' with Courier New, and vice versa - zip of screen shots attached.

I'm surprised I saw the same on the new Surface Pro. The other two systems have hi res ultra wide monitors, like mine, one was a former colleague's 40" Eizo. Maybe I saw what I wanted to see on the Surface, I only had it for a few minutes.

Added: AFAIC this issue is 'resolved', the inexplicability bothered me much more than the errant behaviour.

BR
Attached Files
File Type: zip Screenshots.zip (1.95 MB, 52 views)

Last edited by BetterRed; 04-18-2025 at 09:11 AM.
BetterRed is offline   Reply With Quote