VirtualBox

Opened 16 years ago

Closed 13 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 Adam Gregoire, 16 years ago

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() &&

!mLeName->text().trimmed().isEmpty() && !mLeName->text().contains(" ") && !mUsedNames.contains (pair));

Is there any reason for the addition of this logic to the new Qt4 UI?

comment:2 by nils, 15 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 David Bolt, 15 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 Frank Mehnert, 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.

comment:5 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: newclosed

Should be fixed in 4.0.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use