Bug 151414 - libre office is not opening
Summary: libre office is not opening
Status: RESOLVED DUPLICATE of bug 150779
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 19:11 UTC by elias estatistics
Modified: 2022-10-12 15:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
user profile bug (212.30 KB, application/xml)
2022-10-08 17:50 UTC, elias estatistics
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elias estatistics 2022-10-07 19:11:03 UTC
Video of the described behavior `https://ufile.io/kgm6c6sb`


Some times Libre office opens and other times does not open.
If one time is not opening, it could not be opened even killing soffice oosplash processes, again and again.

When clicking to a file to open it, it appears only the name of file on my menu bar in kde. 

In order to be able to run libre office 7.4.1.2 again, i must run libreoffice 7.1.3.2 to close it and then run libre office 7.4.1.2, otherwise i cannot open it. 



Version: 7.4.1.2 / LibreOffice Community
Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded


No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
Comment 1 Rainer Bielefeld Retired 2022-10-08 13:56:53 UTC
@Reporter:
Please try again after having renamed your LibO User Profile
(So that LibO creates a new one).

And tell your results.
Comment 2 elias estatistics 2022-10-08 17:10:12 UTC
I dont know when it is hunging. 
possibly, profile may play a role. 

But as a user, i cant explain why it can be run while running a much older version of it. 

This means that some subprocesses are confused between libreoffice versions? or something remain in the ram?
Comment 3 elias estatistics 2022-10-08 17:50:54 UTC
Created attachment 182919 [details]
user profile bug

Removing user profile fixed that bug.

I debugged further the behaviour. 

I copied back my profile, same behaviour (hanging)
I played with removing elements inside user folder.
One time i remove all things except registrymodifications.xcu
Same bug behaviour. 

So i upload to check what is going wrong, cause i like my user profile! 
And maybe help to improve libreoffice profile bugs.
Comment 4 elias estatistics 2022-10-08 17:57:56 UTC
NO no no! after deleting user profile, 
it runs.
closing it, and then not running again. 
Same bug!
Comment 5 elias estatistics 2022-10-08 18:08:20 UTC
I found the culprit i think! 

inside user profile, the file "registrymodifications.xcu" contains a line that says:

<item oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.text.TextDocument']"><prop oor:name="ooSetupFactoryWindowAttributes" oor:op="fuse"><value>0,0,1,1;5;0,0,0,0;</value></prop></item>

So this line is creating the bug in KDE. 

I was deleting lines from "xcu" until i found the culprit. 
If this line is present, LO is not appearing, if not, appearing.
Comment 6 elias estatistics 2022-10-08 18:11:10 UTC
Yes this was the bug! How i can stop from populate each time in user profile?
Comment 7 elias estatistics 2022-10-08 18:19:06 UTC
Trying to set the 4 last values to different values than 0, a new line present inside the file.
Trying to change the same 4-last values other than 0, but, now this line does not keep these new values.
In exit, override them with zeroes.  

<item oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.frame.StartModule']"><prop oor:name="ooSetupFactoryWindowAttributes" oor:op="fuse"><value>0,0,1,1;5;3,3,3,3;</value></prop></item>
<item oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.text.TextDocument']"><prop oor:name="ooSetupFactoryWindowAttributes" oor:op="fuse"><value>0,0,1,1;5;0,0,0,0;</value></prop></item>
Comment 8 V Stuart Foote 2022-10-12 15:02:55 UTC
fixed for 7.4.2 by

https://git.libreoffice.org/core/commit/1c0f44cbacb4bcefcf383586e7ccd32d47388fa4

*** This bug has been marked as a duplicate of bug 150779 ***