Opened 16 years ago
Closed 14 years ago
#2477 closed defect (fixed)
OK option greyed out when adding a shared folder whose shared name contains a space. => Fixed in SVN
Reported by: | Adam Gregoire | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 2.0.2 |
Keywords: | shared folder name space | Cc: | |
Guest type: | other | Host type: | other |
Description
I have verified that this happens on 2.0.2 on linux and windows host. 1.6.6 behaves as expected.
Change History (5)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Confirm on 2.0.4 as well, XP SP3 host, Kubuntu 8.10 guest. Took half an hour to figure it out as I was trying to mount "My Documents" which (by default) uses that name...
comment:3 by , 16 years ago
It's still present under 2.1.4 with an XP SP2 host and openSUSE 11.1 guest. Finally figured out the shared path could have a space in the name but the shared folder name had to have the space removed for it to be allowed.
comment:4 by , 14 years ago
Summary: | OK option greyed out when adding a shared folder whose shared name contains a space. → OK option greyed out when adding a shared folder whose shared name contains a space. => Fixed in SVN |
---|
This bug will be fixed in the next major release.
I did a bit more research and tracked this down to line 139 of src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsSFDetails.cpp in the function VBoxVMSettingsSFDetails::validate(), which contains the following:
mButtonBox->button (QDialogButtonBox::Ok)->setEnabled (!mPsPath->path().isEmpty() &&
Is there any reason for the addition of this logic to the new Qt4 UI?