Unable to change url for persona settings

Just recently started checking out Fedora 19 on another system. This
version comes with LibreOffice 4.1. I found that I was not able to
setup my Persona settings in this version. My main system has 4.0.4.2
and just on a hunch I copied the libreoffice sub-dir in .config to my
test system after renaming it on that system. It now works, although I
haven't tried changing it now that I think of it since doing that.

Anyone know enough about the config db or file to shed some light on
why this happened. Also is there any major difference between config
tool in 4.0 verses 4.1 that could create problems? Or is it possible
to be a Fedora thing and not generic LibreOffice problem?

- --
and God only knows who else!!!!!!!!!!!!!!!!

Bad2theBone wrote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just recently started checking out Fedora 19 on another system. This
version comes with LibreOffice 4.1. I found that I was not able to
setup my Persona settings in this version. My main system has 4.0.4.2
and just on a hunch I copied the libreoffice sub-dir in .config to my
test system after renaming it on that system. It now works, although I
haven't tried changing it now that I think of it since doing that.

Anyone know enough about the config db or file to shed some light on
why this happened. Also is there any major difference between config
tool in 4.0 verses 4.1 that could create problems? Or is it possible
to be a Fedora thing and not generic LibreOffice problem?

Have a look at bugs 63498 and 59230 to see whether yours is a related
problem. I have the same symptoms with 4.1 debian install and Ubuntu 12.04
and Mint-Mate Maya... Peter

Bad2theBone wrote

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Just recently started checking out Fedora 19 on another system.
This version comes with LibreOffice 4.1. I found that I was not
able to setup my Persona settings in this version. My main system
has 4.0.4.2 and just on a hunch I copied the libreoffice sub-dir
in .config to my test system after renaming it on that system. It
now works, although I haven't tried changing it now that I think
of it since doing that.

Anyone know enough about the config db or file to shed some light
on why this happened. Also is there any major difference between
config tool in 4.0 verses 4.1 that could create problems? Or is
it possible to be a Fedora thing and not generic LibreOffice
problem?

Have a look at bugs 63498 and 59230 to see whether yours is a
related problem. I have the same symptoms with 4.1 debian install
and Ubuntu 12.04 and Mint-Mate Maya... Peter

Yes, that's exactly what I experienced. For now I have the .config
sub-dirs from my system running Fedora 18 and LO 4.0.4.2 copied onto
the system running Fedora 19 and LO 4.1.?.?. Since I saved my original
config on that system I may try restoring it and manually create the
persona sud-dir with the jpg files.

So I took it a step further and manually added the persona sub-dir
under the gallery sub-dir along with the jpg files within the folder.
I then manually edited the registrymodifications.xcu file (xml file
type) and just copied text within <value></value> in "PersonaSettings"
line from the working file to the broken 4.1.?.? version of the file.
I'm not sure what other changes there are between the 2 so I just
edited the broken one. I am still not able to change from the dialog.
It still will not allow the editing of the url within the box.

Bad2theBone wrote

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Just recently started checking out Fedora 19 on another system.
This version comes with LibreOffice 4.1. I found that I was not
able to setup my Persona settings in this version. My main system
has 4.0.4.2 and just on a hunch I copied the libreoffice sub-dir
in .config to my test system after renaming it on that system. It
now works, although I haven't tried changing it now that I think
of it since doing that.

Anyone know enough about the config db or file to shed some light
on why this happened. Also is there any major difference between
config tool in 4.0 verses 4.1 that could create problems? Or is
it possible to be a Fedora thing and not generic LibreOffice
problem?

Have a look at bugs 63498 and 59230 to see whether yours is a
related problem. I have the same symptoms with 4.1 debian install
and Ubuntu 12.04 and Mint-Mate Maya... Peter

I use Ubuntu 12.04 and MATE desktop and have seen no issues with using the Persona option. I have no problem in changing it to whatever one I want, as long as I have the URL of the Firefox persona page. I have made 26 persona "files" and posted them on FF's site and change my 4.0.4 version on Ubuntu and Windows every so often. No problems so far.

So are you telling us that 4.1.0.x has given up our ease of using/changing persona[s]?

The only thing that 4.0.x had issues with, in the past, was using the font/text color that was defined withing the persona. In the past, if you had a dark background and light text defined, LO did not pick up the light text color and the text was shown in "default black" text. There was a move to fix that issue. Could that work caused the current issues? I do not know. Of course, I have to tried 4.1.0.x - since I rarely install a RC version of package.

Yes 4.1.?.? the persona feature is broke. You can only change it or edit
it by doing it manually by adding the jpg files to the
.config/libreoffice/4/user/gallery/persona sub-dirs. If the persona
sub-dir does not exist than just create it and dump the jpg there. Also
you will have to manually edit the registrymodifications.xcu file. This
just an xml file. Look for the 2 lines that have "Persona" and the
second one has "PersonaSettings" after oor:name=. You will want the 2nd
line, horizontal scroll to the type <value>and type in the name of the
jpg file (ie 3.jpg;bas5.jpg;#d5f3fa;#000000 is what is in mine for star
trek image.)

I got the mentioned values when I tried coping my libreoffic config
folders from 4.0.4.2 into my 4.1.?.? folders and found that it worked. I
found the difference based on the comments in the 2 bugs that Peter had
mentioned. Once I changed the new files I switched back. The xcu files
are very different in size so I'm not sure if keeping the older version
in place may disallow some new feature from working properly.

"
<prop oor:name="Persona" oor:op="fuse"><value>default</value></prop></item>

<prop oor:name="PersonaSettings" oor:op="fuse"><value>libreoffice-stone-three-lighter---header.jpg;libreoffice-stone-three-lighter---footer.jpg;#000000;#000000</value></prop></item>
"

So with these lines, all I need to do is manually change the "<value>" tag to the image file name and the font color I want to use with it?

What is the function of the "Pre-installed Persona (if available)" option used for? It seems to remove the persona info and give me the same results as the "Plain Look" option.

I know that, at this time, the "footer" image is not used, but it was part of the persona setting.

So it would be a real nice feature if you has an option to do all these image and font color changes withing a LO dialog instead of manually editing a "xcu" file in a text editor. IT is too easy to mess these control files up.

I have been trying to summarise the current Personas situation to clarify the
situation in my mind. I am documenting it in case it may be of interest to
any of you. Does it need to be reported as a bug? Is it just a Linux
problem?

My environment is UBUNTU 12.04 (x2) and LINUX-MINT MATE 13. I am running
LibO 3.6.4.3, 4.0.4.2 and now 4.1.0.4. LibO 4.0 and 4.1 run from
Applications/Office Panels and share the same .config files, LibO 3.6 uses
hand made panel. Only one version is run at a time. All three systems run
home made personas on Firefox, Thunderbird and LibO 4.0 and 4.1

1. LibO 4.0 supported the INSTALLATION and DISPLAY of Personas but no
control over the TEXT or ACCENT colours.

2 LibO 4.1 RC4 supports the DISPLAY of Personas, TEXT colours but not the
INSTALLATION of Personas nor ACCENT colours.

3. Because the .config files for 4.0 and 4.1 were so different in size, I
decided to recreate the files for 4.1 and then manually add the
/Gallery/Personas folder and modify registrymodifications.xcu file to
restore the settings from 4.0.

4. I now run 4.0 and 4.1 from the same .config files and use the same
personas.

5. By using a standard name for the personas I wish to use, I no longer need
to modify the registrymodifications.xcu file.

6. I use GIMP to create a new Personas, FIREFOX PERSONAS PLUS to test the
new Personas without the need to upload the personas to the firefox website.
When happy I copy the new personas and rename it to the LibO Personas
folder, restart LibO and I am away.

7. I can find my way to manage my and my Wife's personas (she is the
artist), but the ordinary user will struggle with the current situation.

Changes to the registrymodifications.xcu file

before
oor:name="PersonaSettings" oor:op="fuse"><value></value></prop></item>

after
oor:op="fuse"><value>Header.jpg;Footer.jpg;#ffffff;#ffffff</value></prop></item>

Where Header.jpg and Footer.jpg are Personas stored in the
.config/libreoffice/4/user/gallery/personas folder

Text Colour (Working) #rrggbb (ffffff = white, #000000 = black)
Accent colour #ffffff (Not yet implemented)

Peter

Tom, there's already 2 bug reports open on this as mentioned by Peter in
another post in this thread. Although I think one of them has or had
been closed as it was a duplicate bug report to the original one.

Peter, looks good. That is essentially what I wound up doing in
experimenting with it. I have not tried creating my own personas as I'm
artistically dysfunctional, in otherwards I am not very creative
artistically. For now, when I want to change my persona I just first
change my firefox/thunderbid personas. I'll copy the URL and then I go
to LO 4.0 change it there and copy the <value> from the PersonaSettings
line in registrymodifications.xcu as well as the jpg files in the
.config/libreoffice/4/user/gallery/persona folder over to my system
running Fedora 19/LO 4.1. Hopefully this bug gets fixed fairly soon as I
really do like this feature as frivolous as it may be.:slight_smile:

Hi :slight_smile:
Thanks.  Nicely handled.  :) 
Regards from
Tom :slight_smile: