Bug 505370 - Ark "Extract" button disabled despite Ark can extract - pressing Enter still works
Summary: Ark "Extract" button disabled despite Ark can extract - pressing Enter still ...
Status: RESOLVED DUPLICATE of bug 504421
Alias: None
Product: ark
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-09 06:20 UTC by Link
Modified: 2025-06-15 07:00 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Link 2025-06-09 06:20:30 UTC
SUMMARY
Previously, when attempting to extract an archive using Ark, the Extract button is always enabled.

Now, The "Extract" button is disabled unless I input something into the "Name" field, which wasn't necessary previously. Additionally, pressing Enter with an empty "Name" field still work, suggesting that the button being disabled is the bug/regression.

The "name" field is also useless, because "Extract into subfolder" has its own field.

STEPS TO REPRODUCE
1. Open any compressed file (like zip, tar.gz, ...)
2. Attempt to extract
3. The extract to dialog pop up.
4. Press enter.

OBSERVED RESULT
- Extract button disabled
- After pressing enter, Ark will proceed to extract.

EXPECTED RESULT
- Extract button enabled

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.3
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.11.0-26-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
None.
Comment 1 kostadinshishmanov 2025-06-12 15:26:34 UTC
Bisect led to

```
debd9fd15a6fae6d745fa6f3b0e5e812ac163162 is the first bad commit
commit debd9fd15a6fae6d745fa6f3b0e5e812ac163162 (HEAD)
Author: Akseli Lahtinen <akselmo@akselmo.dev>
Date:   Wed Apr 9 16:47:54 2025 +0000

    KFileWidget: Ignore selected folders during file selection
    
    During file selection, there's no reason to add the selected
    folder to the url bar (thus making it selected). User can still visually
    select the folder.
    
    Instead, just ignore any selected folders and add only files.
    We can then delete the folder checking while loop.
    
    This does not affect directory selection.
    
    BUG: 271400
    FIXED-IN: 6.14

 src/filewidgets/kfilewidget.cpp | 44 +++++++++++++++++---------------------------
 1 file changed, 17 insertions(+), 27 deletions(-)
```

https://invent.kde.org/frameworks/kio/-/commit/debd9fd15a6fae6d745fa6f3b0e5e812ac163162
Comment 2 John Kizer 2025-06-15 07:00:09 UTC
Hi - merging this in with the existing report for this issue, thanks!

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