Bug 2186809 - thonny's dialogs for opening/saving files don't work with zenity 3.91
Summary: thonny's dialogs for opening/saving files don't work with zenity 3.91
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: thonny
Version: 38
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karolina Surma
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-14 14:41 UTC by Karolina Surma
Modified: 2023-05-25 01:11 UTC (History)
6 users (show)

Fixed In Version: thonny-4.0.2-3.fc39 thonny-4.0.2-3.fc38
Clone Of:
Environment:
Last Closed: 2023-05-23 14:10:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github thonny thonny issues 2750 0 None open thonny 4.0.2: dialogs for opening/saving files don't work with zenity 3.91 2023-04-17 09:09:01 UTC
Github thonny thonny pull 2786 0 None open Enable thonny to open and save files with zenity 3.91+ 2023-05-16 10:42:02 UTC

Description Karolina Surma 2023-04-14 14:41:12 UTC
Description of problem:

Thonny in Gnome environment can't open nor save files. Clicking on the buttons does nothing. Same when pressing the keyboard shortcuts.

This is logged when opening the file:
16:34:36.658 WARNING thonny.ui_utils: Zenity returned code 255 and stderr 'This option is not available. Please see --help for all possible usages.\n'

This, when saving:
16:35:58.465 INFO    thonny.editors: Save dialog returned None with typevariable ''
16:36:19.480 WARNING thonny.ui_utils: Zenity returned code 255 and stderr 'This option is not available. Please see --help for all possible usages.\n'

Version-Release number of selected component (if applicable):
4.0.2-1 (4.0.2-2 in F39)

How reproducible:
Always

Steps to Reproduce:
1. Run thonny
2. try to open file/folder or save the untitled file
3. Nothing happens

Additional info:
There exists a workaround that works, changing to Tk instead of Zenity: https://github.com/thonny/thonny/issues/1576#issuecomment-768346921

Zenity jumped from 3.43 to 3.91 between F37 and F38. 3.91 is apparently an alpha: https://gitlab.gnome.org/GNOME/zenity/-/issues/54#note_1715285

Comment 2 Fedora Update System 2023-05-23 14:08:30 UTC
FEDORA-2023-291f2b6e33 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-291f2b6e33

Comment 3 Fedora Update System 2023-05-23 14:10:25 UTC
FEDORA-2023-291f2b6e33 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2023-05-23 14:30:23 UTC
FEDORA-2023-63ca34a6dc has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-63ca34a6dc

Comment 5 Fedora Update System 2023-05-24 14:19:16 UTC
FEDORA-2023-63ca34a6dc has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-63ca34a6dc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-63ca34a6dc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-05-25 01:11:29 UTC
FEDORA-2023-63ca34a6dc has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.