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

Problems after upgrading to Sierra or High Sierra? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps
Download or installation problems? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - NeoOffice Calc scrolling changes window focus
NeoOffice Calc scrolling changes window focus
 
Post new topic   Reply to topic    NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
pfb3d
Red Pill


Joined: Dec 07, 2004
Posts: 6

PostPosted: Thu Apr 11, 2013 12:02 pm    Post subject: NeoOffice Calc scrolling changes window focus Reply with quote

I think the following might be a bug, or at least an interesting feature.
Open a Calc spreadsheet #1 that is large enough so that the vertical scroll bar appears. Open a second similar spreadsheet (#2). Position #2 on top of #1.
Switch to another app like Preview, for example. With Preview active, position the mouse pointer over the spreadsheet and move the mouse scroll wheel. Spreadsheet #1 jumps on top of #2 and scrolls (Preview remains active). I would have expected that #2 would remain visible and would scroll. This seems to be a property of Calc windows as 2 Writer documents behave as expected but a Calc window opened after a Writer window causes the "scrolling switch".
NeoOffice 3.3 Patch 5, OS X 10.6.8 fully updated, using a Logitech usb mouse with a scrollwheel.

Regards,
Paul
Back to top
View user's profile Send private message
amayze
The Merovingian


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

PostPosted: Thu Apr 11, 2013 3:03 pm    Post subject: Reply with quote

I can reproduce this "scrolling switch" behaviour using NeoOffice 3.3 Patch 5 Test 4 using Safari as the front most app.

Having re-produced it with two Calc windows and then a Calc window and a Writer window, I closed the two open windows with cmd-W and tried to open two new writer windows with cmd-N when NeoOffice hung and then crashed.

I attach the crash log.

Andy
Back to top
View user's profile Send private message Visit poster's website
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Thu Apr 11, 2013 8:39 pm    Post subject: Reply with quote

From examining the crash log it looks like this may be happening when one of those files is being closed but there are some unusual things in the stack.

For the portion of the test where you had both the Calc and Writer window open, were those files on disk or empty new windows? If files, could you try opening them and closing them again quickly in sequence?

ed
Back to top
View user's profile Send private message Visit poster's website AIM Address
pluby
The Architect
The Architect


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

PostPosted: Sun Apr 14, 2013 7:15 pm    Post subject: Reply with quote

I will see if I can determine what is causing mouse wheel events to be sent to a background window.

In the meantime, I have a question for amayze: the crash log that you posted looks identical to the crashing bug that I fixed in this post.

Since you mentioned that you were using an older test patch than the one that fixes that other crashing bug, can you install the following test patch and tell us if you can still reproduce the crash?:

Intel:
http://juliette.neooffice.org/test/NeoOffice-3.3-Patch-5-Test-6-Intel.dmg

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


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

PostPosted: Mon Apr 15, 2013 7:34 am    Post subject: Reply with quote

I think that I have fixed the bug that causes the NeoOffice windows order to change while using the mouse wheel when NeoOffice is not the active application.

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

Intel:
http://juliette.neooffice.org/test/NeoOffice-3.3-Patch-5-Test-7-Intel.dmg

Patrick
Back to top
View user's profile Send private message Visit poster's website
pfb3d
Red Pill


Joined: Dec 07, 2004
Posts: 6

PostPosted: Mon Apr 15, 2013 9:42 am    Post subject: Reply with quote

Test _7 fixed the bug for me.

I did see one minor anomalous behavior, which unfortunately I have not been able to reproduce. I installed the patch, launched NeoOffice, closed the blank Calc spreadsheet, used File> Recent Documents to open 2 spreadsheets. Switched to a Safari window that partially covered the spreadsheets and verified the bug was fixed. However, the little temporary window that shows "Row nn" while scrolling appeared below (outside) the Calc windows, as if it had about a 10 or 20 row offset. This only happened the first time NeoOffice launched and I have not been able to reproduce it after a number of attempts.

Thank you Patrick for your customary quick attention to this bug and for especially for your years of diligent maintenance and improvement of NeoOffice. I have been using it productively since the days of NeoOffice/J.

Regards,
Paul
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


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

PostPosted: Mon Apr 15, 2013 6:51 pm    Post subject: Reply with quote

pfb3d wrote:
...However, the little temporary window that shows "Row nn" while scrolling appeared below (outside) the Calc windows, as if it had about a 10 or 20 row offset. This only happened the first time NeoOffice launched and I have not been able to reproduce it after a number of attempts.


I can reproduce this behavior. After some debugging work, I found that NeoOffice's underlying OpenOffice.org code ignores the screen coordinates in our mouse wheel events. Strangely, this only occurs when none of the NeoOffice windows are the active window. In such cases, the OpenOffice.org code displays the tooltip window at the screen coordinate of the last mouse move event that occurred when NeoOffice was the active application.

I think I have fixed this OpenOffice.org bug by sending a fake mouse moved event to the OpenOffice.org code before sending any mouse wheel events.

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

Intel:
http://juliette.neooffice.org/test/NeoOffice-3.3-Patch-5-Test-8-Intel.dmg

Patrick
Back to top
View user's profile Send private message Visit poster's website
pfb3d
Red Pill


Joined: Dec 07, 2004
Posts: 6

PostPosted: Tue Apr 16, 2013 7:03 am    Post subject: Reply with quote

Following your diagnosis of the problem I can also now reproduce the behavior with Test-7.

3.3-Patch -5-Test-8 fixes the bug for me.

Your resourcefulness in diagnosing and fixing these bugs continues to amaze me.

Regards,
Paul
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


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

PostPosted: Tue Apr 16, 2013 8:38 am    Post subject: Reply with quote

Thank you for your compliment. Although I have to admit that my apparent level of skill looks best when working on bugs like this since I am working in the code that Ed and I have written and rewritten over the last 10 years. In contrast, when looking at OpenOffice.org's .docx and .xlsx import/export code, many times it feels like learning a foreign language. Smile

Before I release the mouse wheel fixes in an official patch, I want to see if the crashing bug that amayze found is also fixed by the latest patch. If amayze doesn't reported any new crashes in the next week (or other new crashing or hanging bugs are reported), I will then release the fixes in an official patch.

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


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

PostPosted: Mon Apr 22, 2013 9:28 am    Post subject: Reply with quote

FYI. I have included fix for the mouse wheel and crashing bugs in NeoOffice 3.3 Patch 6. The patch can be downloaded from the NeoOffice patch download page.

Patrick
Back to top
View user's profile Send private message Visit poster's website
amayze
The Merovingian


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

PostPosted: Wed Apr 24, 2013 6:36 am    Post subject: Reply with quote

pluby wrote:
Before I release the mouse wheel fixes in an official patch, I want to see if the crashing bug that amayze found is also fixed by the latest patch. If amayze doesn't reported any new crashes in the next week (or other new crashing or hanging bugs are reported), I will then release the fixes in an official patch.

Sorry, I've been away for a few days. I'll try to reproduce what I did to get the crash this week if I can.

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

 
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.
Page Generation: 0.02 Seconds