Bug 507226 - Extraction Dialog: "Extract" button greyed-out when filename field is empty
Summary: Extraction Dialog: "Extract" button greyed-out when filename field is empty
Status: RESOLVED DUPLICATE of bug 507193
Alias: None
Product: ark
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-19 11:58 UTC by Matthieu Carteron
Modified: 2025-07-21 08:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Carteron 2025-07-19 11:58:00 UTC
SUMMARY
In the archive extraction dialog, by default when it shows the filename field is empty and the "extract" button is disabled. The filename field is optional in the code, the "extract" button should be enabled even if this field is empty.

STEPS TO REPRODUCE
1. Open any archive with Ark.
2. Click on the "Extract" button to open the extraction dialog.

OBSERVED RESULT
The "extract" button to confirm the action is greyed-out (disabled), because the filename field is empty.

EXPECTED RESULT
The "extract" button should be enabled / clickable even if the filename field is empty, because it's optional (i.e. even if you write anything the extraction still works).

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
The code responsible for enabling/disabling the accept button is in KIO, right here:
https://invent.kde.org/frameworks/kio/-/blob/master/src/filewidgets/kfilewidget.cpp?ref_type=heads#L1318
Comment 1 Matthieu Carteron 2025-07-19 13:56:49 UTC
I pushed a simple merge request that fixes this bug:
https://invent.kde.org/utilities/ark/-/merge_requests/300
Comment 2 Méven 2025-07-21 08:15:09 UTC

*** This bug has been marked as a duplicate of bug 507193 ***