Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - After renaming Title Bar reverts to Untitled
After renaming Title Bar reverts to Untitled
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Tue Apr 08, 2014 12:29 pm    Post subject: After renaming Title Bar reverts to Untitled

Today while working in NeoOffice (3.4.1 patch 1 on Mavericks 10.9.2), I clicked on the drop-down arrow in the title bar and renamed the documents. I then proceeded to edit them. Periodically, the title in the title bar would revert to "Untitled—Edited." If I Saved, the title would return to the correct name.

I haven't been able to come up with an exact methodology for replicating the issue, but it seems to involve one or more of the following elements:

Using Command-~ to move between different NeoOffice documents

Using Command-Tab to move between different apps

Allowing a "sufficient" amount of time to pass.

I started to post this, then gave up when I couldn't replicate it with a test file. Then went back to NeoOffice, and lo and behold, the test file had reverted to "Untitled." Now, working this up again for you, I can't get it to happen!

Lorinda
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Apr 08, 2014 12:36 pm    Post subject:

Can you install the test patch in this post and see if the behavior still occurs?

The test patch in that post fixes some bugs that I had found in our old code that detects renaming and/or moving of files while they are open.

Patrick
Back to top
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Tue Apr 08, 2014 1:10 pm    Post subject:

Thanks for the quick reply, Patrick! Test patch installed. Since I can't reliably replicate it, it may be a while before I know if it's working, but I'll try to post back in a few days.

Lorinda
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Apr 08, 2014 2:07 pm    Post subject:

I have a hunch that the bug you saw might occur when NeoOffice is autosaving a document. I believe the default autosave interval is 15 minutes so you may have to wait that long without saving to trigger the bug.

Patrick
Back to top
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Tue Apr 08, 2014 2:14 pm    Post subject:

That's very possible, although it seemed like it was happening more frequently than that when I was working earlier.

Unfortunately the test patch doesn't correct the problem. I left the test file open in Neo while I ran some errands. I just checked, and the name has reverted to Untitled.

Lorinda
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Apr 08, 2014 4:37 pm    Post subject:

I think I found the OpenOffice code keeps changing the document window's title and I have changed that code to give the native document object's display name priority.

Can you install either of the following test patches and see if the bug still occurs for you?:

NeoOffice 3.4.1:
http://nick.neooffice.org/test/NeoOffice-3.4.1-Patch-1-Test-2-Intel.dmg

NeoOffice 2013.2:
http://nick.neooffice.org/test/NeoOffice-2013.2-Test-9-Intel.dmg

Patrick
Back to top
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Tue Apr 08, 2014 7:46 pm    Post subject:

I've downloaded and installed the test patch.

I'll leave it running overnight and see what happens.


One thing I notice already: the "—Edited" indication does not appear at the end of the file name in the title bar when I've edited but not saved the document.

Lorinda
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Apr 08, 2014 7:54 pm    Post subject:

Lorinda wrote:
One thing I notice already: the "—Edited" indication does not appear at the end of the file name in the title bar when I've edited but not saved the document.


I suspect that that is a side-effect of my fix. I will post a new test patch tonight or tomorrow.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Apr 08, 2014 10:21 pm    Post subject:

I think that I have fixed the missing "—Edited" in the window titlebar in the following test patches:

NeoOffice 3.4.1:
http://nick.neooffice.org/test/NeoOffice-3.4.1-Patch-1-Test-3-Intel.dmg

NeoOffice 2013.2:
http://nick.neooffice.org/test/NeoOffice-2013.2-Test-10-Intel.dmg

Patrick
Back to top
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Wed Apr 09, 2014 3:44 am    Post subject:

Thanks, Patrick. I'm installing now.

Test Patch 2 did not fix the move to Untitled bug. When I checked on it this morning, the title bar said "Untitled" Again.

Lorinda
Back to top
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Wed Apr 09, 2014 3:57 am    Post subject:

Test patch 3 does return "—Edited" to the title bar when appropriate. Too early to tell if the Untitled issue is fixed, but I'll post back later when I have more data.
As an aside, the warning message that occurs when I quit Neo without saving had the correct file name in the warning, even when the Title bar said "Untitled"

Lorinda
Back to top
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Wed Apr 09, 2014 4:16 am    Post subject:

Test patch 3 does not fix the Untitled bug. Not that I expected it to, since it was designed to fix the —Edited issue.

Lorinda
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Apr 09, 2014 7:18 am    Post subject:

Although I am no longer able to reproduce the titlebar name changing bug, I do see the old name in the "do you want to save your changes?" dialog when I close the document window with unsaved changes.

I will use that to try and chase down where the OpenOffice code is out of sync with the current location of the document.

Patrick
Back to top
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Wed Apr 09, 2014 8:48 am    Post subject:

I think I've been seeing a variation of this problem when printing a form letter.

With recent patches, after clicking OK in the Mail Merge window, the name of the document in the title bar changes to some kind of temp file name i.e. "svel1" and the PDF output, if sent to Preview, opens with the same name. On returning to NeoOffice the document name changes back to its proper state when I start editing the document.

With Patch 1 Test 3, I no longer see the name changing in the title bar, but the PDF still has a temp file name in Preview. This is not really a big problem though.

Also, I use Default Folder and whatever file actions NeoOffice is carrying out on the temp file it creates are sufficient to add its path to Default Folder's Recent Folders list. Again not a big problem, but not really desirable to expose a temp file directory to the user either - I realise this may be an issue with DF rather than NO, and if you think it is, Patrick, I can take it up with the author DF as he is also a nice responsive developer.

Hope that is relevant and useful to this thread.

Andy

[Edited to correct the point at which file name was changing in Mail Marge procedure. A]
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Apr 09, 2014 10:02 am    Post subject:

I removed the fix for changing titlebar name in the previous test patches and implemented a new fix in the following test patches. Does the bug still occur after you install either of the test patches?:

NeoOffice 3.4.1:
http://nick.neooffice.org/test/NeoOffice-3.4.1-Patch-1-Test-4-Intel.dmg

NeoOffice 2013.2:
http://nick.neooffice.org/test/NeoOffice-2013.2-Test-11-Intel.dmg

amayze wrote:
With recent patches, after clicking OK in the Mail Merge window, the name of the document in the title bar changes to some kind of temp file name i.e. "svel1" and the PDF output, if sent to Preview, opens with the same name. On returning to NeoOffice the document name changes back to its proper state when I start editing the document.


Does this still occur with either of the above test patches? If so, does the bug still occur if you reinstall NeoOffice 3.4.1 Patch 1 from the patch download page?

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.