Issue 120330 - Spell checker fails when %AppData% path uses network share notation
Summary: Spell checker fails when %AppData% path uses network share notation
Status: UNCONFIRMED
Alias: None
Product: General
Classification: Code
Component: spell checking (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Windows, all
: P3 Normal with 6 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needhelp
Depends on:
Blocks:
 
Reported: 2012-07-20 10:37 UTC by demolish
Modified: 2016-05-10 21:20 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description demolish 2012-07-20 10:37:53 UTC
With respect to the spell checking facility, it does not like the Windows %AppData% directory path setting using network share notation, for example: "\\MyServer\\home\MyUser\Application Data".
The spell checking facility only works when the %AppData% directory path is set up using a drive letter, for example: "H:\Application Data"

See issue:
http://user.services.openoffice.org/en/forum/viewtopic.php?f=7&t=54218&start=30

You do not need to have a network share to reproduce this bug, all you need is networking enabled and you can simulate a network share by sharing your "C-Drive".

To reproduce without having to move your %AppData% directory do the following:
I have to use some values for this example so:
Assume that OO 3.4 is currently installed and spell checker is working.
Windows login user name: "MyUser"
Given that %USERPROFILE% expands to: 
"C:\Documents and Settings\MyUser"
And that %AppData% is currently set to:
"%USERPROFILE%\Application Data"
And the Windows Computer name is: "MyComputer"

Log in as an Administrator and share your C-Drive (C:\) as "C-Drive" and ensure that the share has read/write access permissions for the user "MyUser" that you are going to log in as.
Log in as user "MyUser" and edit the following registry setting:
Under key:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
Change value pair from:
"AppData=%USERPROFILE%\Application Data"
to:
"AppData=\\MyComputer\C-Drive\Documents and Settings\MyUser\Application Data"

Now log off Windows from "MyUser" and log back on again as "MyUser".

Now when you run OO 3.4, spell checking will not work.
Comment 1 George Kaz 2012-11-28 13:52:31 UTC
I can confirm that I have exactly the same problem. Actually, the whole user profile folder in appdata doesn't get created. If you copy one in there from elsewhere, it doesn't get updated. So basically OO isn't using the right path for the profile at all when app data is on a UNC path.

We use OO 3.4.1. It means that the spellchecking facilities appear empty when you look at the Options dialog.
Comment 2 George Kaz 2012-11-28 16:00:42 UTC
I've figured out a work around for now, although it's not great if you use a mixture of roaming and non-roaming profiles

http://forum.openoffice.org/en/forum/viewtopic.php?f=74&t=12426#p61192
Using the above link I realised you can change the UserInstallation path in bootstrap.ini from

UserInstallation=$SYSUSERCONFIG/OpenOffice.org/3
to
UserInstallation=file://///filestore1/userprofiles/$USERNAME/OpenOffice.org/3

[Bootstrap]
BaseInstallation=${OOO_BASE_DIR}
InstallMode=<installmode>
ProductKey=OpenOffice.org 3.4.1
UserInstallation=file://///filestore1/userprofiles/$USERNAME/OpenOffice.org/3
[ErrorReport]
ErrorReportPort=80
ErrorReportServer=

This seems to work fine.

Alternatively, you can change your shortcuts for an individual user to something along the lines of:

"C:\Program Files\OpenOffice.org 3\program\soffice.exe" -env:UserInstallation=file://///filestore1/userprofiles/$USERNAME/OpenOffice.org/3

I hope this helps someone.
Comment 3 George Kaz 2012-11-28 17:02:40 UTC
I should add that if you've got a space in your path, you should use URL encoding to fill it, i.e. %20

e.g.

file://///filestore1/userprofiles/$USERNAME/Application%20Data/OpenOffice.org/3
Comment 4 Dragib 2013-02-18 10:34:37 UTC
I confirm that this solution works, but even when it should correct this problem.

thank you
Comment 5 m.mayer 2013-08-13 11:06:23 UTC
We have the same Issue with AOO 4.0.0!
Comment 6 Damian C. Stalls 2013-10-23 15:21:10 UTC
We also have this problem on multiple servers using Roaming Profiles.
Comment 7 Guillaume 2015-06-11 14:14:35 UTC
I have this issue too with OOo 4.1.1 and users with redirected AppData/Roaming folder on a network share.

A real solution would be appreciated.
As we have users profiles with and without redirected folders, we can't use the fix above.
Comment 8 angeloxo 2015-11-04 12:57:54 UTC
Like Guillaume, we have the same problem: 

"With OOo 4.1.1 and users with redirected AppData/Roaming folder on a network share." 

Status of this bug, should be CONFIRMED.

Thanks a lot.
Comment 9 dodger4 2016-05-10 01:37:02 UTC
I am new here.  Is this the correct forum to request assistance with this issue?

I am using Windows 7 and I can't get the edits to bootstrap.ini right, and need help.
Comment 10 Marcus 2016-05-10 19:09:15 UTC
(In reply to dodger4 from comment #9)
> I am new here.  Is this the correct forum to request assistance with this
> issue?
> 
> I am using Windows 7 and I can't get the edits to bootstrap.ini right, and
> need help.

If you need user help for the spell checking function it is more suitable to visit the support forums [1]. There are much more users that can help you.

[1] https://forum.openoffice.org/
Comment 11 dodger4 2016-05-10 21:20:40 UTC
Thanks for the redirect.  I did actually come to this forum from a link to it in:

https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=82148&p=386074#p386074

I also went to the link in comment 2 above:

https://forum.openoffice.org/en/forum/viewtopic.php?f=74&t=12426#p61192

so that's where I ended up, as I'm past the configuration issues.  I'll follow your direction.  Many thanks.