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

Configuration windows are unreadable/unusable on 4k displays. #488

Open
Grendelgreg opened this issue Jan 15, 2018 · 8 comments
Open

Configuration windows are unreadable/unusable on 4k displays. #488

Grendelgreg opened this issue Jan 15, 2018 · 8 comments

Comments

@Grendelgreg
Copy link

Hi!

I recently got a computer with 4k resolution and have been having trouble with Potato, as shown in the attached screenshots.

potat

@thespacegh0st
Copy link

Having the same issue with 2736x1824. I do /not/ have this issue in 1440p.

Potato: 2.0.0b18
Tcl: 8.6.4
Tk: 8.6.4

System Info:
Platform: windows
OS: Windows NT (10.0)
Machine: amd64 (64-bit)
Windowing System: win32

Additional Packages:
All Platforms:
tls: 1.6.7.1
potato-flash: Not Present

Windows:
Winico: Not Present
potato-winflash: Not Present

Linux:
potato-linflash: Not Present
linflash: Not Present

MacOS X:
tkdock: Not [Present](url
Annotation 2019-07-08 154010
)

@talvo
Copy link
Collaborator

talvo commented Jul 8, 2019

Are you seeing issues in any other plces, or only squashing like that in trees? Hard to tell from the screenshot - how is the size of everything else, relatively to the display?

@thespacegh0st
Copy link

I left my laptop at work but all of the top bars (the buttons, the file edit view logging etc) button is very tiny. All of the screenshots Grendelgreg provided are also the same for me.

@CyberLeo
Copy link

On my system, this has to do with tk::scaling guessing the scaling factor horribly wrong.

At the top of main.tcl, right after the #! line, I inserted this line and restarted Potato:

tk scaling 1.33

The value was chosen by trial and error.

@DFX2KX
Copy link

DFX2KX commented Apr 12, 2020

This bug is problematic for windows folks, as we tend to use the executable.

@talvo
Copy link
Collaborator

talvo commented Apr 12, 2020

If you create a file called potato.custom (no .txt file extension) in the same location as your executable, you can insert the tk scaling line in there.

@DFX2KX
Copy link

DFX2KX commented Apr 13, 2020

good to know, though it doesn't seem to work in my case (reports as a CUSTOM file and everything)

@FateEverywhere
Copy link

On my system, this has to do with tk::scaling guessing the scaling factor horribly wrong.

At the top of main.tcl, right after the #! line, I inserted this line and restarted Potato:

tk scaling 1.33

The value was chosen by trial and error.

Doesn't work. At tk scaling 1.33, shows this:

image
image

This is deeply annoying on hi-dpi displays like Surface Pro or a 4k monitor.

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

6 participants