TomSchimansky / TomSchimansky/CustomTkinter

Title bar disappeared and permanent rescaling

Open
#2,172 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
13.6k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

The Issue

Hopefully this is the correct place to post my issue. I was playing around with the library, and everything worked great until I tried using the customtkinter.set_window_scaling(float_value) command to rescale my window. Now, the title bar has permanently disappeared in both default and full screen mode, the boxes for the minimize, maximize, and exit buttons are whited out, and the mouse rescales to a smaller size when hovering over my ctk window.

My Troubleshooting Attempts

I've uninstalled and reinstalled the customtkinter and packaging modules in my virtual environment and ran my code. Issue persists.
I've installed them in a different virtual environment and ran my code. Issue persists.
I've even installed tkinter itself and ran a tkinter version of my code. Issue still persists.

My Set-up

I'm running my script from a Ubuntu WSL virtual machine on my Windows laptop, from VS code.

You can see what my ctk window looks like (the white box with 3 small boxes above it where the minimize, maximize, and exit buttons are supposed to be), along with a basic test code (which worked before I rescaled) in the enclosed photo.

Screenshot 2023-12-28 142139

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior with the basic test code from the attached screenshot in the stated Ubuntu WSL and VS Code setup, then test set_window_scaling(float_value) in default and fullscreen modes. Done means the title bar and window controls render normally and the mouse no longer rescales when hovering over the CustomTkinter window.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.