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

pygubu-designer UI inresponsive #235

Open
pro55b opened this issue Feb 16, 2024 · 3 comments
Open

pygubu-designer UI inresponsive #235

pro55b opened this issue Feb 16, 2024 · 3 comments

Comments

@pro55b
Copy link

pro55b commented Feb 16, 2024

I can start pygubu-designer.
The user interface is not reponsive, so I cannot add anything.
After switching to the ttk theme agua(Preview->ttk theme) the ui sometimes becomes responsive and I can add toplevel.
After adding a toplevel and changing some of the property values, the ui again becomes unresponsive.
Then I minimised the pygubu-designer and the maximised and the ui was responsive again util the next thing I change or try to add.
What also sometimes helps to make the UI responsive again is (Preview->Close Top Level Previews)

pygubu and pygubu-designer are installed with pip install in a conda environment (tk 8.6.12 package installed in the evironment).
python: 3.8.18 on darwin
tk: 8.6
pygubu: 0.34
pygubu-designer: 0.38

I have tried with both python 3.10 and 3.8, same behaviour

Running on macOS Sonoma 14.2.1 on apple silicon.

@pro55b
Copy link
Author

pro55b commented Feb 16, 2024

. /Users/philip/anaconda3/bin/activate && conda activate /Users/philip/anaconda3/envs/pygubu;
(base) philip@philipsacStudio ~ % . /Users/philip/anaconda3/bin/activate && conda activate /Users/philip/anaconda3/envs/pygubu;
(pygubu) philip@philipsacStudio ~ % pip install pygubu
Collecting pygubu
Using cached pygubu-0.34-py3-none-any.whl.metadata (7.2 kB)
Collecting importlib-resources (from pygubu)
Downloading importlib_resources-6.1.1-py3-none-any.whl.metadata (4.1 kB)
Collecting zipp>=3.1.0 (from importlib-resources->pygubu)
Downloading zipp-3.17.0-py3-none-any.whl.metadata (3.7 kB)
Using cached pygubu-0.34-py3-none-any.whl (123 kB)
Downloading importlib_resources-6.1.1-py3-none-any.whl (33 kB)
Downloading zipp-3.17.0-py3-none-any.whl (7.4 kB)
Installing collected packages: zipp, importlib-resources, pygubu
Successfully installed importlib-resources-6.1.1 pygubu-0.34 zipp-3.17.0
(pygubu) philip@philipsacStudio ~ % pip install pygubu-designer
Collecting pygubu-designer
Using cached pygubu_designer-0.38-py3-none-any.whl.metadata (7.7 kB)
Collecting appdirs>=1.4.3 (from pygubu-designer)
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting Mako>=1.1.4 (from pygubu-designer)
Using cached Mako-1.3.2-py3-none-any.whl.metadata (2.9 kB)
Collecting screeninfo>=0.8 (from pygubu-designer)
Using cached screeninfo-0.8.1-py3-none-any.whl (12 kB)
Collecting autopep8>=1.7 (from pygubu-designer)
Using cached autopep8-2.0.4-py2.py3-none-any.whl.metadata (17 kB)
Requirement already satisfied: pygubu>=0.33 in ./anaconda3/envs/pygubu/lib/python3.8/site-packages (from pygubu-designer) (0.34)
Collecting pycodestyle>=2.10.0 (from autopep8>=1.7->pygubu-designer)
Using cached pycodestyle-2.11.1-py2.py3-none-any.whl.metadata (4.5 kB)
Collecting tomli (from autopep8>=1.7->pygubu-designer)
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting MarkupSafe>=0.9.2 (from Mako>=1.1.4->pygubu-designer)
Downloading MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_universal2.whl.metadata (3.0 kB)
Requirement already satisfied: importlib-resources in ./anaconda3/envs/pygubu/lib/python3.8/site-packages (from pygubu>=0.33->pygubu-designer) (6.1.1)
Collecting Cython (from screeninfo>=0.8->pygubu-designer)
Using cached Cython-3.0.8-py2.py3-none-any.whl.metadata (3.2 kB)
Collecting pyobjc-framework-Cocoa (from screeninfo>=0.8->pygubu-designer)
Downloading pyobjc_framework_Cocoa-10.1-cp38-cp38-macosx_11_0_universal2.whl.metadata (2.3 kB)
Requirement already satisfied: zipp>=3.1.0 in ./anaconda3/envs/pygubu/lib/python3.8/site-packages (from importlib-resources->pygubu>=0.33->pygubu-designer) (3.17.0)
Collecting pyobjc-core>=10.1 (from pyobjc-framework-Cocoa->screeninfo>=0.8->pygubu-designer)
Downloading pyobjc_core-10.1-cp38-cp38-macosx_11_0_universal2.whl.metadata (2.5 kB)
Using cached pygubu_designer-0.38-py3-none-any.whl (382 kB)
Using cached autopep8-2.0.4-py2.py3-none-any.whl (45 kB)
Using cached Mako-1.3.2-py3-none-any.whl (78 kB)
Downloading MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_universal2.whl (18 kB)
Using cached pycodestyle-2.11.1-py2.py3-none-any.whl (31 kB)
Using cached Cython-3.0.8-py2.py3-none-any.whl (1.2 MB)
Downloading pyobjc_framework_Cocoa-10.1-cp38-cp38-macosx_11_0_universal2.whl (392 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 392.4/392.4 kB 4.0 MB/s eta 0:00:00
Downloading pyobjc_core-10.1-cp38-cp38-macosx_11_0_universal2.whl (732 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 732.5/732.5 kB 4.4 MB/s eta 0:00:00
Installing collected packages: appdirs, tomli, pyobjc-core, pycodestyle, MarkupSafe, Cython, pyobjc-framework-Cocoa, Mako, autopep8, screeninfo, pygubu-designer
Successfully installed Cython-3.0.8 Mako-1.3.2 MarkupSafe-2.1.5 appdirs-1.4.4 autopep8-2.0.4 pycodestyle-2.11.1 pygubu-designer-0.38 pyobjc-core-10.1 pyobjc-framework-Cocoa-10.1 screeninfo-0.8.1 tomli-2.0.1
(pygubu) philip@philipsacStudio ~ % pygubu-designer
python: 3.8.18 on darwin
tk: 8.6
pygubu: 0.34
pygubu-designer: 0.38

@pro55b pro55b closed this as completed Feb 16, 2024
@pro55b pro55b reopened this Feb 16, 2024
@alejandroautalan
Copy link
Owner

Hello @pro55b thanks for the report.
I will try to replicate the environment and investigate the issue.

Regards.
Alejandro A.

@ergodone
Copy link

I'm running into the same issue. It's pretty much unusable due to how slowly it responds.
% pygubu-designer
python: 3.10.6 on darwin
tk: 8.6
pygubu: 0.34
pygubu-designer: 0.38
2024-03-31 11:16:58.799 Python[79553:8583021] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.

This is also on macOS Sonoma 14.3.1 on apple silicon.

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

3 participants