Welcome to NeoOffice Forums
NeoOffice
 
Official online support site for NeoOffice and NeoOffice Mobile

Trinity
· Home
· News
· Private Messages
· Stories Archive
· Your Account


RSS Feeds
· Headlines
· Forum Posts
· NeoOffice Releases
· Beta Releases
· NeoOffice Mobile


Twitter Feeds
· @NeoOffice


Download NeoOffice
· Get NeoOffice
· Get the Latest Patch
· Language Packs
· User Guide
· User Guide Volume 2


Other Websites
· NeoOffice.org
· NeoWiki


Who's Online
There are currently, 140 guest(s) and 3 member(s) that are online.

You are Anonymous user. You can register for free by clicking here


Languages
Select Interface Language:



  
trinity.neooffice.org :: View topic - Word completion seems to ignore undo/redo
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Private MessagesPrivate Messages   Log inLog in 

Word completion seems to ignore undo/redo
Users who have paid US$100.00 within the last year can post

 
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Beta Support
View previous topic :: View next topic  
Author Message
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2302
Location: Utrecht, NL

PostPosted: Sat Jul 28, 2012 5:30 am    Post subject: Word completion seems to ignore undo/redo Reply with quote

I found another oddity:

I was editing a document and I noticed that when I had word completion suggesting a word, and I hit command-z, the document reverted as it should, but the suggestion from the word completion stayed even if the letters that triggered is were gone.

It disappeared once I did something other than undo/redo keys.

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10950
Location: California, USA

PostPosted: Sat Jul 28, 2012 7:32 am    Post subject: Reply with quote

I can reproduce this and I will investigate. Since pressing an arrow key deletes the autocompleted text, I assume that our code needs to send some event to the underlying OpenOffice.org code after dispatching the menu shortcut event before it will clear the text.

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10950
Location: California, USA

PostPosted: Sat Jul 28, 2012 10:51 pm    Post subject: Reply with quote

I think that I have fixed this bug and in the following test patch, pressing the Command-Z keys or selecting the Edit :: Undo shortcut should clear any autocompletion text.

Can you install the following test patch and tell us if the bug is fixed for you?:

Intel:
http://sally.neooffice.org/test/NeoOffice-3.3_Beta_2-Patch-0-Test-1-Intel.dmg

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2302
Location: Utrecht, NL

PostPosted: Sun Jul 29, 2012 1:45 am    Post subject: Reply with quote

Not yet. Pressing command-z when an autocomplete is visible still removes the bits that are being autocompleted, but not the suggested part until do something else..
_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10950
Location: California, USA

PostPosted: Sun Jul 29, 2012 7:10 am    Post subject: Reply with quote

ovvldc wrote:
Not yet. Pressing command-z when an autocomplete is visible still removes the bits that are being autocompleted, but not the suggested part until do something else..


Interesting. My fix only works when I undo the first autocomplete suggestion that appears and it reappears once a second automplete suggestion occurs. Is that what you see? Or does it still occur with the first autocomplete suggestion in a document?

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2302
Location: Utrecht, NL

PostPosted: Sun Jul 29, 2012 8:45 am    Post subject: Reply with quote

For me, autocomplete suggestion never changes when I undo (for clarity: I undo while it is highlighted in blue and I haven't chosen to use it).
_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10950
Location: California, USA

PostPosted: Mon Jul 30, 2012 7:39 pm    Post subject: Reply with quote

Surprisingly, I found out that what you are seeing is actually the normal behavior in all Mac OS X versions of OpenOffice.org and LibreOffice. This OpenOffice.org behavior only occurs when the Edit :: Undo menu item is selected via clicking on the menu item or pressing the Command-Z keys.

What is strange is that if the menu item is not selected and the Command-Z key press and release "fall through" to the window itself, the OpenOffice.org code behaves like you expect it.

The reason that you notice the OpenOffice.org menu item behavior in NeoOffice 3.3 Beta 2 is that, for some unknown reason, in NeoOffice 3.2.1 and prior versions, the Java menus ignored Command-Z keys and those keys would always fall through to the window. But, in those Java-based versions, you would see the OpenOffice.org menu item behavior if you selected the Edit :: Undo menu item with the mouse.

I will have to think about this more. Since this is not a critical hanging or crashing bug, I am very reluctant to try messing with the OpenOffice.org menu item code that causes this behavior. But maybe there are some simpler things that I can try if I think about it a bit.

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2302
Location: Utrecht, NL

PostPosted: Tue Jul 31, 2012 10:05 am    Post subject: Reply with quote

That is surprising.

Anyway, it is a cosmetic thing, so feel free to put it on your list of bugs to tackle when you are bored Wink.

Thanks for investigating.

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10950
Location: California, USA

PostPosted: Sun Aug 05, 2012 5:11 pm    Post subject: Reply with quote

Although the behavior you see is an OpenOffice.org bug, NeoOffice 3.2.1 did not show this bug in most cases so I spent some time trying to find a way to implement the NeoOffice 3.2.1 behavior.

I think that I have found a way. In the following test patch I changed our native menu handling code to dispatch fake key press and released events instead of menu selected events.

Can you install the following test patch and tell us if the OpenOffice.org bug still occurs for you?:

Intel:
http://sally.neooffice.org/test/NeoOffice-3.3_Beta_2-Patch-0-Test-11-Intel.dmg

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2302
Location: Utrecht, NL

PostPosted: Mon Aug 06, 2012 11:49 am    Post subject: Reply with quote

This seems to have done the trick. Thanks!
_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10950
Location: California, USA

PostPosted: Wed Aug 08, 2012 8:13 am    Post subject: Reply with quote

FYI. I have included the fix for this bug in NeoOffice 3.3 Beta 2 Patch 1 which you can download from the NeoOffice 3.3 Beta 2 patch download page.

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Beta Support All times are GMT - 7 Hours
Page 1 of 1

 
You can post new topics in this forum
You can 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.
Page Generation: 0.03 Seconds