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 - NeoOffice/J 0.7 patch available
NeoOffice/J 0.7 patch available
 
   NeoOffice Forum Index -> NeoOffice Testing
View previous topic :: View next topic  
Author Message
JKT
The Anomaly
(earlier version)


Joined: Sep 18, 2003
Posts: 434
Location: London, UK

PostPosted: Tue Nov 18, 2003 12:46 pm    Post subject:

Hi Patrick,

just installed Neo/J 0.7 and the 2nd patch under 10.3.1

Everything is working very well - menu responsiveness and appearance is greatly improved (still slow in many cases, but much, much improved over the vanilla 0.7 install).

Printing worked well.

I can't select any other keyboard layout while in Neo/J - the menu bar icon just flashes and nothing happens. However, if I open one of the Japanese palettes in another app and then use it in Neo/J, the symbols can be inputted by clicking them in the palette.

The traditional chinese palette doesn't work, however. It disappears before you can use it when you switch to Neo/J.

Cheers,

Jontahan

_________________
PBG4, 1.5GHz, SuperDrive, 1GB RAM, 128MB VRAM, 5400rpm 80GB HD, MacOS X 10.4.5

Please visit The Land Gallery at http://www.thelandgallery.com for nature-inspired British Fine Art
Back to top
schlesi
Oracle


Joined: Jun 07, 2003
Posts: 234
Location: near Cologne, Germany

PostPosted: Tue Nov 18, 2003 1:17 pm    Post subject:

Patrick,

I can't follow your instructions ("select [..] "Roman" as your script"). May be the language setting have changed from Jaguar to Panther.

Thomas
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Nov 18, 2003 1:33 pm    Post subject:

JKT,

Are all of your non-English keyboard layouts Asian keyboard layouts? If so, I wonder if Panther's Java is filtering your available layouts based on your current "Script" selection System Preferences -> International -> Language.

Try opening the above and selecting one of the Chinese or Japanese scripts instead of "Roman". Then, restart NeoJ and see if you can change keyboard layout.

If that has no effect, try downloading the following new patch:

http://www.planamesa.com/neojava/downloads/temp/NeoOfficeJ-0.7-patch-3.tar.gz

This patch explicitly tells Java to enable input methods for all NeoJ windows. This helped a little bit when I was playing around with Java 1.4.1 in a different application last night.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Nov 18, 2003 1:38 pm    Post subject:

schlesi wrote:
Patrick,

I can't follow your instructions ("select [..] "Roman" as your script"). May be the language setting have changed from Jaguar to Panther.

Thomas


Apple probably did. Skip that step and, instead, let's see if JKT finds since he is having problems with Japanese and Chinese keyboards.

Patrick
Back to top
JKT
The Anomaly
(earlier version)


Joined: Sep 18, 2003
Posts: 434
Location: London, UK

PostPosted: Wed Nov 19, 2003 3:49 am    Post subject:

Edit: Incidentally, if you don't yet have Panther, there have been some changes to the input menu and language support - they are described in this TidBITS article

Hi Patrick,

I've tried what you suggested and it had no effect. As it happened the only other keyboards I had selected were the Japanese and Trad Chinese ones. I added French to my menu as well to see if that had any effect.

OK, whenever Neo/J is the active app, it is impossible to select a different keyboard menu - the icon flashes but remains the British flag for me. If I switch to another OS X app (OmniWeb in this case) and change the input menu there to e.g. France, then switch back to Neo/J, the keybindings are now the French inputs as they should be. Once again, I can't switch back to the British keyboard from within Neo/J, but can if I go via a different app.

With the Japanese input, I am unable to get the keyboards themselves to work, but I can enter characters using the "Show Japanese Kana palette" option (again, has to be opened in a different app first and then it is active in Neo/J) and if I have selected one of the Hiragano fonts:






This is with patch 2 and now patch 3 as well.

P.S. I'm going away on holiday for a few days so won't be able to help further for a while, sorry.

_________________
PBG4, 1.5GHz, SuperDrive, 1GB RAM, 128MB VRAM, 5400rpm 80GB HD, MacOS X 10.4.5

Please visit The Land Gallery at http://www.thelandgallery.com for nature-inspired British Fine Art
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Nov 19, 2003 8:51 am    Post subject:

Thanks JKT,

I appears that Apple has changed the keyboard layout code in Panther's Java significantly from Jaguar's Java.

I am off to buy Panther today so that I can figure out what is really happening with the keyboard.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Nov 20, 2003 1:40 pm    Post subject:

Well, I finally installed Panther last night and the bad news is that the keyboard layout switching problem that JKT described happens in all Java applications that are run with Java 1.3.1.

Since the bug does not appear when Java 1.4.1 is used, I got to conclude that Panther expects to call some function in the JVM that was added to 1.4.1 but was not added to 1.3.1 and, when it cannot find that function, the keyboard switching menu reverts to whatever keyboard was last selected.

Interestingly, if you run NeoJ or any Java 1.3.1 application and you change the keyboard layout by pressing Command-Option-Space, the keyboard layout does change. The problem is only when you select a keyboard using your mouse!

I am going to spend some time to see if I can reverse engineer a solution for this. However, it is possible that the bug it is so deeply embedded that there is no workaround.

If that is the case, I will file a bug with Apple. If anyone thinks this is important to fix and has an Apple support incident that they would be willing to donate, let me know and maybe a support incident will help escalate any bug that I file.

Patrick
Back to top
Guest






PostPosted: Fri Nov 21, 2003 2:02 pm    Post subject: Re: NeoOffice/J 0.7 patch available

I tried to change the keyboard and it does not work.

Panther 10.3.1
Patch installed.

Regards.

G.

[
quote="pluby"]I have fixed many of the NeoOffice/J 0.7 bugs that have been reported in Bugzilla so I felt it was time to post a patch for testing.

If you are interested in testing the new patch, you can download the lastest patch binaries and install them in an existing NeoOffice/J 0.7 installation using the following steps:

- If you have not already installed NeoOffice/J 0.7, download and install it from:
http://trinity.neooffice.org/modules.php?name=Downloads&d_op=viewdownload&cid=4
- Download the latest patch binaries from:
http://www.planamesa.com/neojava/downloads/temp/NeoOfficeJ-0.7-patch-1.tar.gz
- Open a new terminal and execute the following commands to unzip the file:
Code:
cd <NeoJ installation directory>/NeoOfficeJ.app
sudo tar zxvf <path to downloaded *.tar.gz file>


For those of you that are interested, here is a list of the most visible changes:

1. Printing now uses much less memory. Also, printing will create a PDF file with images at the maximum resolution set in "Print" configuration item in the Tools->Options menu item.

2. I think that I have fixed that problem in Panther where you cannot select a keyboard from the Apple system menu. Could someone running Panther verify that this patch fixes this problem?

3. Fixes for all of the bugs marked "Resolved" in bugzilla except bugs #13 and #18 are in this patch. Bugs #13 and #18 are fixed, but they are installer fixes so they won't be seen until I do a new release.

I will probably push a 0.7.1 release in a week or so if no major problems are found in this patch. So, if you find a bug in this patch or one of the existing bugs has not been fixed, please update Bugzilla.

Patrick[/quote]
Back to top
Max_Barel
Oracle


Joined: May 31, 2003
Posts: 219
Location: French Alps

PostPosted: Fri Nov 21, 2003 3:28 pm    Post subject: Yes Keyboard switch do work under Panther

I upgraded to Panther yesterday nigth.
So I can confirm the Patrick post: keyboard switching do works when using shortcut or doing it when an other app is frontmost.
IMO this is not a stopper for the release.

BTW: When i first tried NeoJ after upgrading, I got repetetive errors of the Java machine at launch. This is not due to Neo/J because the java 1.3.1 preference setting tool did the same. I presume this was because the boot disk was almost full. Now I purged it and everything is OK. No need to reinstall anything.

P.S. Patrick,
I acknowledge the translation request. It'll be done by the week end.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Nov 21, 2003 3:38 pm    Post subject: Re: Yes Keyboard switch do work under Panther

Max,

Max_Barel wrote:
I upgraded to Panther yesterday nigth.
So I can confirm the Patrick post: keyboard switching do works when using shortcut or doing it when an other app is frontmost.
IMO this is not a stopper for the release.


After spending the last 48 hours reverse engineering Apple's code, it seems that the Java 1.3.1 problem is not due to any change in Java, but do to some change in the window manager.

What I have found is that Panther really can't handle Java 1.3.1 running its event loop in a thread other than the main thread. I verified this by putting one or two Carbon calls in the main thread before Java is loaded in NeoJ and then the keyboard switching menu works perfectly. I was really happy when I found this and then very unhappy when I found that this trick causes the mouse to be disabled.

I definitely will file a bug with Apple on this as I am convinced that Panther has broken Java 1.3.1.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Nov 22, 2003 5:08 pm    Post subject:

I finally got keyboard switching to work!

I have pushed a new patch that has this fix. The patch is at:

http://www.planamesa.com/neojava/downloads/temp/NeoOfficeJ-0.7-patch-4.tar.gz

This patch also contains a fix for bug #33.

Let me know if you find any problems with this patch. Otherwise, I will use this patch for the 0.7.1 release.

Patrick
Back to top
JKT
The Anomaly
(earlier version)


Joined: Sep 18, 2003
Posts: 434
Location: London, UK

PostPosted: Mon Nov 24, 2003 8:56 am    Post subject:

Hi Patrick,

I'm back from my trip and have just installed patch 4. After a very quick play about, keyboard switching is indeed now working under Panther. You may need to include a brief warning that there is a few second's delay (on my Mac at least) before the switch takes completely (the flag changes almost instantly, but it takes another second or so for any actual typing to reflect the new keyboard), but that is probably an issue with the relative slowness of my CPU. Also, I can confirm that bug 33 is not showing as a problem for me with this patch.

Cheers,

Jonathan.

_________________
PBG4, 1.5GHz, SuperDrive, 1GB RAM, 128MB VRAM, 5400rpm 80GB HD, MacOS X 10.4.5

Please visit The Land Gallery at http://www.thelandgallery.com for nature-inspired British Fine Art
Back to top
Apricot
Pure-blooded Human


Joined: May 31, 2003
Posts: 38

PostPosted: Mon Nov 24, 2003 10:33 pm    Post subject: Patch 4 print oddness with Panther?

Is anyone else using patch4 with Panther? I'm having a weird problem where printing anything leads to a garbled print box. I'm trying to figure out if it's just due to a drive crash I had a few days ago, or whether it's really patch4. I note that I don't get this problem with vanilla 0.7.

- Ap

ps. I don't get this problem with 0.7 patch 3 either, which I've reverted to.
Back to top
jimlaurent
Captain


Joined: Jun 23, 2003
Posts: 55

PostPosted: Tue Nov 25, 2003 5:37 am    Post subject:

I tried to reproduce your problem by typing a few words in a word document and printing. I did NOT get a garbled print dialog but did receive the message:

soffice.bin has unexpectedly quit.

This message popped up after the OS X print dialog apeared but before I clicked OK or Cancel. It is repeatable.

However, the Neo/J icon still had the arrow under it and it appears in the app switcher palette. Had to force quit.

This is on Panther with patch 4 applied on top of patch 3.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Nov 25, 2003 8:42 am    Post subject:

Jim,

Can you send me a crash log? I am betting that it has to do with the change I made to make the keyboard switching work.

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

 
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.