incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120501] Starting OpenOffice with "-nodefault" parameter should not open the StartCenter
Date Thu, 09 Aug 2012 06:50:09 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120501

--- Comment #2 from Ariel Constenla-Haile <arielch@apache.org> ---
(In reply to comment #0)
> Steps to reproduce:
> 
> 1. Make sure no soffice process is already running
> 2. Start Apache OpenOffice with the command "soffice -nodefault" or "soffice
> --nodefault"
> 3. The AOO Startcenter window appears. (This shouldn't happen!)
> 
> This behaviour is a.) incorrect and it is a realy great bug, b.) the
> behaviour stands in opposite of the documentation of this startparameter,

According to the documentation, the current behavior isn't wrong:

-nodefault    don't start with an empty document

Because the StartCenter is not a document.


> and c.) it means that for most of the Java-Programmers who embeds OpenOffice
> in their Software, AOO ist absolutely unusable, and for the Users of their
> Software too.
> 
> The same bug ist in LO >= 3.4 so I think it's a bug which is imported from
> LO while integrating some code of the LO-Projekt.

It's the other way around: LO integrated OpenOffice.org code. AOO does not
integrate LO code, due to license conflict.


Back to this issue, supposing that we do not want to introduce yet another
parameter, and we interpret the -nodefault as don't starting with an empty
document nor with the StartCenter, then this bug can be solved by simply adding
&& !pCmdLineArgs->IsNoDefault() in 

(!pCmdLineArgs->WantsToLoadDocument() && !pCmdLineArgs->IsInvisible() &&
!pCmdLineArgs->IsHeadless() && !pCmdLineArgs->IsQuickstart())

http://svn.apache.org/viewvc/incubator/ooo/trunk/main/desktop/source/app/app.cxx?revision=1364581&view=markup#l2057

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

Mime
View raw message