Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6F2D6106C3 for ; Sun, 16 Feb 2014 18:02:30 +0000 (UTC) Received: (qmail 74003 invoked by uid 500); 16 Feb 2014 18:02:18 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 73849 invoked by uid 500); 16 Feb 2014 18:02:18 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 73841 invoked by uid 99); 16 Feb 2014 18:02:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Feb 2014 18:02:17 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of kay.schenk@gmail.com does not designate 216.39.63.100 as permitted sender) Received: from [216.39.63.100] (HELO nm12-vm4.access.bullet.mail.gq1.yahoo.com) (216.39.63.100) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Feb 2014 18:02:12 +0000 Received: from [216.39.60.176] by nm12.access.bullet.mail.gq1.yahoo.com with NNFMP; 16 Feb 2014 18:01:51 -0000 Received: from [67.195.23.144] by tm12.access.bullet.mail.gq1.yahoo.com with NNFMP; 16 Feb 2014 18:01:50 -0000 Received: from [127.0.0.1] by smtp116.sbc.mail.gq1.yahoo.com with NNFMP; 16 Feb 2014 18:01:50 -0000 X-Yahoo-Newman-Id: 895570.86996.bm@smtp116.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: vL1XWS8VM1l.8sgeDpR0QG_oEA7ZwremTfY5aAc824NFq1d 91A0sjRXrnSgAYjYyrmXyDH6YOU0z4G3o9CnDVBHlcM803syyT1Y033bF9Bf ObUqmogaydEN.0DyXg1EnAH4UF0_kwb5nLdM4x8WR54utfPmmTKCLeJV6a5h omgvby7F7p9qzmkQQCyPI7RvLtk8hkLV1dX2HpdeIppD2Cp271IIYwNX6Azq x12nOgxHgQ69sP2eHDSopxpwa9683bgOkBjY8zxferUUAzAPEI6IxYpU30jC luLrt4M8A23x5pfL_r_MhJ2Xb6RgHC28zSVRRBsN1xCeEuyoLYj6R4Bus8p0 SOUqypQv6Bmc3tB4nBo_B4KeKeCfUs0SKwXt9DbNW3mvPNtg6GlY9rTB.r9B kxvr4Yl9qQ0dv2HuL3riDDN2ONyscOzfEkyJ060.O7BQFouj9CAZ05.YaBOc IQQiXHJ1mc5LtWjNwGXeuTUfkrdeLhzW4PGBLp3YW2zBggU9PXFpAqwWL_zJ 2w6Jd96H9wtQuVjgcrsIDp1rpxFZH5XflwAS73dxj1_DsRsW82DYEzQ.qyQ- - X-Yahoo-SMTP: dHt73eiswBAYjuZ6oL.TTjbe.KQkAIve X-Rocket-Received: from [192.168.1.105] (kay.schenk@68.127.49.177 with plain [67.195.15.66]) by smtp116.sbc.mail.gq1.yahoo.com with SMTP; 16 Feb 2014 18:01:50 +0000 UTC Message-ID: <5300FCE5.8010908@gmail.com> Date: Sun, 16 Feb 2014 10:01:09 -0800 From: Kay Schenk User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: dev@openoffice.apache.org Subject: Re: OO 4.01 Compiled for Solaris 11 x86 Save As Stuck in a Loop References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 02/15/2014 08:46 AM, Απόστολος Συρόπουλος wrote: > strange because I can save files which are correct files. In my case the problem is that the system complains that it cannot save while it actually does. Also I can open and save doc files but I cannot open XML-based files. > > A.S. > >> From: raymond.steele@lmco.com >> To: api@openoffice.apache.org; dev@openoffice.apache.org >> CC: awf.aoo@gmail.com; hdu@apache.org; david.k.meffe@lmco.com >> Subject: OO 4.01 Compiled for Solaris 11 x86 Save As Stuck in a Loop >> Date: Fri, 14 Feb 2014 22:06:33 +0000 >> >> We are attempting to use the newly build OpenOffice 4.0.1 for Solaris 11 x86, but the 'Save As' to disk of any document type (i.e. .ods) continuous to prompt for a file name. Each time we hit okay to save the document after supplying a unique name, the FilePicker closes, but instantly reappears again. >> >> I have narrowed it down to the following code located in sfx2/source/doc/guisaveas.cxx lines 1497-1520 >> >> The program gets stuck in the while loop below. The variable 'bExit' is never set to sal_True, so the loop continuous. I provide a name to the FilePicker interface, click Save and the loop continuous, redisplaying the dialog. To resolve the issue, I added bExit = sal_True after line 1513 so that the loop discontinuous. I am not sure if this will have effects in other situations, maybe someone can provide some feedback, but for now. I am able to save. >> >> >> sal_Bool bExit = sal_False; >> 1497 while ( !bExit ) >> 1498 { >> 1499 bUseFilterOptions = aModelData.OutputFileDialog( nStoreMode, aFilterProps, bSetStandardName, aSuggestedName, bPreselectPassword, aSuggestedDir, nDialog, sStandardDir, aBlackList ); >> 1500 >> 1501 // in case the dialog is opend a second time the folder should be the same as before, not what was handed over by parameters >> 1502 aSuggestedDir = ::rtl::OUString(); >> 1503 if ( nStoreMode == SAVEAS_REQUESTED ) >> 1504 { >> 1505 // in case of saving check filter for possible alien warning >> 1506 ::rtl::OUString aSelFilterName = aModelData.GetMediaDescr().getUnpackedValueOrDefault( >> 1507 aFilterNameString, >> 1508 ::rtl::OUString() ); >> 1509 sal_Int8 nStatusFilterSave = aModelData.CheckFilter( aSelFilterName ); >> 1510 if ( nStatusFilterSave == STATUS_SAVEAS_STANDARDNAME ) These are equal during runtime >> 1511 { >> 1512 // switch to best filter >> 1513 bSetStandardName = sal_True; bSetStandardName is set to sal_True here, but bExit is not, so the loop continuous. Setting bExit following this line allows the program to save. >> ++++++bExit = salTrue; >> 1514 } >> 1515 else if ( nStatusFilterSave == STATUS_SAVE ) >> 1516 { >> 1517 // user confirmed alien filter or "good" filter is used >> 1518 bExit = sal_True; >> 1519 } >> 1520 } >> 1521 else >> 1522 bExit = sal_True; >> 1523 } >> >> >> >> Raymond Steele >> U-2 Mission Planning >> Software Engineer Sr >> Lockheed Martin - IS&GS Defense >> 1300 S. Litchfield Rd. >> Goodyear, AZ 85338 >> Email: raymond.steele@lmco.com >> Business phone: 623-925-6402 >> > > I don't know if either of you has had a look at the bugs for Writer. There are a number of them dealing with Save issues. It would be very helpful if you could augment an existing issue with your findings. See search: https://issues.apache.org/ooo/buglist.cgi?component=save-export&product=Writer&query_format=advanced&resolution=--- -- ------------------------------------------------------------------------- MzK "Cats do not have to be shown how to have a good time, for they are unfailing ingenious in that respect." -- James Mason --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org For additional commands, e-mail: dev-help@openoffice.apache.org