Bug 510165

Summary: Cannot extract unless path is specified manually
Product: [Applications] ark Reporter: rb <rb0171610>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: REPORTED ---    
Severity: normal CC: avalonvales, cycoone, dllmayday, elvis.angelaccio, FishBoneEK, mads, rthomsen6, rubisetcie
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Bug Depends on: 507193    
Bug Blocks:    

Description rb 2025-10-02 11:30:00 UTC
+++ This bug was initially created as a clone of Bug #507193 +++


SUMMARY


STEPS TO REPRODUCE
1.  Open an archive in ark 
2.  Click the extract button
3. When extract dialog box opens, the extract button at the bottom is grayed out and not able to be clicked
OBSERVED RESULT
 The Name field in previous versions of Ark used to auto populate with the name of the archive. Now it is blank and has to be populated with the name of a directory location for extraction instead of an archive name.  This can be done by:
 A) previous directory location in the history list by clicking the down arrow in the blank "Name" field 
or
 B) has to be populated by clicking on a directory in the "Places" panel 
or 
C) by typing a directory name in the field.  
When typing a directory name in the field, if the directory name is not valid Ark will extract to a previously used extraction location, i.e. typing '/' for the root directory which is not writable as a regular user will allow the extract button to become clickable and no longer grayed out.  This will not extract to '/' however, but instead extracts to the last location used to extract an archive.  
This is new behavior with updated versions of Ark on Gentoo but I cannot be certain the exact version where it stopped working correctly.  

EXPECTED RESULT
When opening an existing archive with Ark, the Name field at the bottom of the Extract dialog box should auto-populate with the base name of the archive.  The Extract button in the Extract dialog box should be clickable. Clicking the Extract button in the dialog box should then extract to the directory where the archive is currently located.  The directory that contains the archive to be extracted should be the default extraction location. The Extract button in the Extract dialog box should be able to clicked immediately without further selections and should extract to the current directory where the archive is located with one click unless the user chooses to select a different location first.  The name field should not require a directory selected for where the archive is to be extracted.  

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.2
Kernel Version: 6.12.16-gentoo (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 4060


ADDITIONAL INFORMATION 
It appears to work correctly on Debian 13.