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 - Window menu not working correctly
Window menu not working correctly
 
   NeoOffice Forum Index -> NeoOffice Beta Releases
View previous topic :: View next topic  
Author Message
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Wed Dec 23, 2009 8:21 pm    Post subject: Window menu not working correctly

In my 3.0.2 EA test build (on 10.5.8 Intel), I've just realized the Window menu isn't working properly, in that selecting a window from the menu doesn't bring forward (or unminimize, if it's been minimized to the Dock) that window.

STR:

1) Open two documents (or create new documents, or some combination thereof)
2) Select the one that's not active from the Window menu
--> Nothing happens
3) Cmd-` to rotate the non-active window to the front
4) Select the other window from the Window menu
--> Nothing happens
5) Open a third document (or create a new third one)
6) Select document 1 (the top-most item in the window menu)
--> Nothing happens
7) Select document 2 (second window-item in the list)
--> Document 1 comes forward

If you repeat with more documents, it seems like you're always getting some sort of "off-by-one" error, in that selecting item 4 in the list shows the window for item 3 in the list and so-on.

Selecting the top document always does nothing. If document 1 is the focused document, selecting document 2 does nothing, since n-1 is document 1, which is already focused; if document 1 is not focused, selecting document 2 focused document 1 (2-1=1). Selecting document 3 focuses document 2, an so forth.

I actually noticed this yesterday, but I didn't realize it until the same thing happened tonight Sad

Is this fallout from the hidden window changes?

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Wed Dec 23, 2009 11:49 pm    Post subject:

I have noticed this in my (second) test build as well on 10.4.11 PPC. I am currently downloading the third build. (Which also exhibits the problem.)

Like smokey it took me a while to realise that there was a problem.

James

_________________
MacBook Pro
13-inch, Mid 2012
Processor 2.5 GHz Intel Core i5
Memory 4 GB 1600 MHz DDR3
Graphics Intel HD Graphics 4000 512 MB
OS X 10.9.3 (13D65)
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Dec 24, 2009 9:30 am    Post subject: Re: Window menu not working correctly

sardisson wrote:
Is this fallout from the hidden window changes?


Yes. In fact, you will only encounter the bug you describe if you all open document windows first. Closing all open document windows creates the 1 x 1 pixel window.

I will see if I can fix this before we release NeoOffice 3.0.2 Early Access next week.

Patrick
Back to top
narf
The Anomaly


Joined: Jan 21, 2007
Posts: 1075

PostPosted: Thu Dec 24, 2009 9:40 am    Post subject:

I have opened bug 3577 to track this.

-- fran
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Dec 24, 2009 10:49 am    Post subject:

FYI. I found the cause of this bug and I have fixed it. I only had to duplicate the logic for excluding the 1 x 1 pixel window in OpenOffice.org's menu selection handler code.

I will respin the build with the fix for this bug on 27 December 2009 so that the moderators can double-check that the build installs and runs OK before I release it to Early Access Program members on 29 December.

Patrick
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Thu Dec 24, 2009 11:15 am    Post subject:

Sounds good, Patrick. Hope you and Fran have a relaxing, merry Christmas Smile

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Thu Dec 24, 2009 1:11 pm    Post subject:

sardisson wrote:
Sounds good, Patrick. Hope you and Fran have a relaxing, merry Christmas Smile

Smokey


And I'll heartily second that. Smile

_________________
MacBook Pro
13-inch, Mid 2012
Processor 2.5 GHz Intel Core i5
Memory 4 GB 1600 MHz DDR3
Graphics Intel HD Graphics 4000 512 MB
OS X 10.9.3 (13D65)
Back to top
Lorinda
Captain Mifune


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

PostPosted: Thu Dec 24, 2009 1:47 pm    Post subject:

I'll third it. Wink

Merry Christmas to all who celebrate it!

Lorinda
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Fri Dec 25, 2009 4:26 am    Post subject:

I'll cheerfully fourth that Smile

Best holiday wishes,
Oscar

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Dec 25, 2009 9:01 am    Post subject:

Thanks everyone. Fran and I are having a very relaxed holiday. We have been enjoying the last couple of days with some of my family from out of town. Fortunately, the weather here in California has been nice and sunny so we have lots of opportunities to get outside to burn off all of that yummy food that I have been eating. Wink

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Dec 28, 2009 10:00 pm    Post subject:

FYI. The fix fo this bug has been included in the NeoOffice 3.0.2 Early Access release. Early Access Program members can download it from the following URL:

http://www.neooffice.org/neojava/earlyaccessdownload.php

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Beta Releases 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.