Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: 55381c779a001df8531b0ab28873432ac946575319584c12ad12ed6a721c8827
Ticket: 3733b924a2c3d5df2607fbcde54eb0c3bca19cd1
Window not resizing on KDE
User & Date: anonymous 2024-04-25 13:25:09
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    I develop a library using tkinter and a people report me a bug with the window size on Fedora using KDE as desktop.
    
    I tested, and the bug seems to only appear on linux distro using KDE.
    As you can see in this video, the window not resizing automatically when a widget, like a Frame in this context, is resized with ``widget.config(width=..., height=...)`` function: 
    
    https://github.com/ZetaMap/Kandinsky-Numworks/assets/56844734/e06fd90e-cd19-478d-9063-d9f59f57073b
    
    idk how the bug works because in the video, I tested saving a file and... it works very well so idk...
    Anyway, I tested all the ways to change the window size, and only the ``root.configure()`` function works to change the window size, but it's not really practical...
    
    There is the source code of my library, if you want to test other things: https://github.com/ZetaMap/Kandinsky-Numworks
    All tkinter things are in the ``src/kandinsky/util/stuff/gui.py`` file.
    To install the library in local, run this command: ``git clone https://github.com/ZetaMap/Kandinsky-Numworks && cd Kandinsky-Numworks && chmod +x setup && yes | ./setup``
    
    So, as i say, the bug only appears on KDE desktop, and it doesn't matter whether Wayland or X11 is used.
    Also idk if we can find a temporary fix for me, this will save me from making a dependency on a new version, if it's really a bug.
    
    So thanks for your reply, and have a nice day =).
    
  5. foundin changed to: "8.6"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "ef25d7ae8e361ad00db980d51a2f4685ac2f2780"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "84. Unix Build"
  15. title changed to: "Window not resizing on KDE"
  16. type changed to: "Bug"