You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/07/20 12:37:53 UTC

[Bug 120330] New: Spell checker fails when %AppData% path uses network share notation

https://issues.apache.org/ooo/show_bug.cgi?id=120330

          Priority: P3
            Bug ID: 120330
                CC: ooo-issues@incubator.apache.org
          Assignee: issues@lingucomponent.openoffice.org
           Summary: Spell checker fails when %AppData% path uses network
                    share notation
          Severity: normal
        Issue Type: DEFECT
    Classification: Code
                OS: Windows, all
          Reporter: fraser_donald@hotmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: AOO 3.4.0
         Component: spell checking
           Product: lingucomponent

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 120330] Spell checker fails when %AppData% path uses network share notation

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120330

--- Comment #3 from George Kaz <ge...@hotmail.com> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 120330] Spell checker fails when %AppData% path uses network share notation

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120330

--- Comment #2 from George Kaz <ge...@hotmail.com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 120330] Spell checker fails when %AppData% path uses network share notation

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120330

Damian C. Stalls <da...@fluidnets.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damians@fluidnets.com

--- Comment #6 from Damian C. Stalls <da...@fluidnets.com> ---
We also have this problem on multiple servers using Roaming Profiles.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 120330] Spell checker fails when %AppData% path uses network share notation

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120330

m.mayer@klinikum-weissenhof.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.mayer@klinikum-weissenhof
                   |                            |.de

--- Comment #5 from m.mayer@klinikum-weissenhof.de ---
We have the same Issue with AOO 4.0.0!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 120330] Spell checker fails when %AppData% path uses network share notation

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120330

George Kaz <ge...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |georgekaz@hotmail.com

--- Comment #1 from George Kaz <ge...@hotmail.com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 120330] Spell checker fails when %AppData% path uses network share notation

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120330

daniel.duserre@ch-brienne.Fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.duserre@ch-brienne.F
                   |                            |r

--- Comment #4 from daniel.duserre@ch-brienne.Fr ---

I confirm that this solution works, but even when it should correct this
problem.

thank you

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 120330] Spell checker fails when %AppData% path uses network share notation

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120330

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needhelp
                 CC|                            |elish@apache.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.