Bug 248638 - Ark refuses to extract if "/" is present in the subfolder extraction text box even if the check box is disabled
Summary: Ark refuses to extract if "/" is present in the subfolder extraction text box...
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 2.14
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Hvaal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-21 22:38 UTC by Marco Aicardi
Modified: 2010-08-22 01:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Aicardi 2010-08-21 22:38:33 UTC
Version:           2.14 (using KDE 4.4.2) 
OS:                Linux

In the Ark extraction window there is a checkbox to enable "Extraction into subfolder".

If "/" is present in the text field, Ark refuses to extract, even if the check box is disabled and the text field obviously greyed-out.

Reproducible: Always

Steps to Reproduce:
1) Open zip file
2) Click extract
3) Enable "Extraction into subfolder"
4) Put something containing "/" in the text field
5) Disable "Extraction into subfolder"
6) Click ok

Actual Results:  
"The subfolder name may not contain the character '/'."

Expected Results:  
As the checkbox is disabled, the text field shoud be ignored.
Comment 1 Raphael Kubo da Costa 2010-08-22 01:21:14 UTC
SVN commit 1166479 by rkcosta:

Do not always check if we have a valid subfolder value.

It only makes sense to check for that if extraction into a subfolder has
been enabled.

BUG: 248638
FIXED-IN: 4.5.1

 M  +2 -2      extractiondialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1166479
Comment 2 Raphael Kubo da Costa 2010-08-22 01:22:14 UTC
SVN commit 1166480 by rkcosta:

Do not always check if we have a valid subfolder value.

It only makes sense to check for that if extraction into a subfolder has
been enabled.

Forward-port of r1166479.

CCBUG: 248638

 M  +2 -2      extractiondialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1166480