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

Strange glitches in nearly all CTK UI elements on Linux. #1358

Closed
randompast opened this issue Mar 17, 2023 · 4 comments
Closed

Strange glitches in nearly all CTK UI elements on Linux. #1358

randompast opened this issue Mar 17, 2023 · 4 comments

Comments

@randompast
Copy link

Any example customtkinter code that I try is glitchy. How do I fix this? I'm running 20.04 Ubuntu, python 3.8.3, current pip, tk, and ctk.

import tkinter
import customtkinter

customtkinter.set_appearance_mode("System")  # Modes: system (default), light, dark
customtkinter.set_default_color_theme("blue")  # Themes: blue (default), dark-blue, green

app = customtkinter.CTk()  # create CTk window like you do with the Tk window

def button_function():
    print("button pressed")

# Use CTkButton instead of tkinter Button
button = customtkinter.CTkButton(master=app, text="CTkButton", command=button_function)
button.place(relx=0.5, rely=0.5, anchor=tkinter.CENTER)

app.mainloop()

image

@ElectricCandlelight
Copy link

ElectricCandlelight commented Mar 17, 2023

Duplicate of #1271 upgrade to python 3.10

@TomSchimansky
Copy link
Owner

Using anaconda also caused this problem in the past I think.

@CodingLama
Copy link

Duplicate of #1271 upgrade to python 3.10

I am on 3.10 and I am having the same problem.

@Arritmic
Copy link

Arritmic commented Nov 24, 2024

I confirm that with Python 3.11.9 still having the same issue:

Screenshot from 2024-11-24 17-55-32

I have updated a solution here: #2646 (comment)

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

5 participants