LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 900|回复: 6

一个关于永中Office 2007 在suse在10.1中的问题

[复制链接]
发表于 2006-6-13 20:13:21 | 显示全部楼层 |阅读模式
装完suse10.1后,就安装了永中Office 2007,那时候可以使用,
昨天,我开启了xgl功能以后,再打开永中Office 2007的时候,就只有
标题栏可以正确显示了,菜单和输入文字的位置 一片雪白,不知道
大家有没有碰到过这个问题 。 可研究出了解决方案没有 ?
有成功的经验就拿出来共享一下吧。
谢谢。
发表于 2006-6-13 20:22:28 | 显示全部楼层
fdo的mail list有个for java的patch
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-13 20:29:55 | 显示全部楼层
Post by midx
fdo的mail list有个for java的patch


先谢谢了
能不能说清楚一点
那个patch 叫什么
回复 支持 反对

使用道具 举报

发表于 2006-6-13 21:01:24 | 显示全部楼层
http://lists.freedesktop.org/arc ... 06-June/000224.html
  1. From:         Dan Winship <danw@novell.com>
  2. To:         Kalle Kärkkäinen <kalle.karkkainen@intstream.fi>
  3. Cc:         compiz@lists.freedesktop.org
  4. Subject:         Re: [compiz] Java and compiz
  5. Date:         Wed, 07 Jun 2006 12:22:25 -0400  (16:22 UTC)


  6. Kalle Kärkkäinen wrote:
  7. >     There was nothing of this in the archives, so whats the plan?
  8. > Anybody working on this already? Has there been some research on the
  9. > matter? Do you already secretly know where the fault is?

  10. Yes, the problem is that some of the java toolkit code assumes that all
  11. windowmanagers reparent windows, and so if a wm is running, then the
  12. toolkit waits for new windows to be reparented before it starts handling
  13. certain events on them. Since compiz doesn't reparent windows, it ends
  14. up waiting forever.

  15. Sun already has a fix for the bug, but I don't know when it will ship.

  16. For SUSE Linux Enterprise Desktop 10, we're using the attached patch to
  17. xgl to work around the problem. (It fakes out the test java uses to see
  18. if a wm is running.) The patch could potentially cause problems with
  19. other apps, though we aren't aware of any. You'll also want the latest
  20. CVS compiz to fix some problems with window placement and other things
  21. with java windows.

  22. -- Dan
复制代码

differences between files attachment (xgl-java-wmhack.diff)
  1. --- dix/window.c        2006/05/29 18:12:27     1.1
  2. +++ dix/window.c        2006/05/29 18:15:15
  3. @@ -1265,8 +1265,12 @@
  4.             result = EventSelectForWindow(pWin, client, (Mask )*pVlist);
  5.             if (result)
  6.             {
  7. -               error = result;
  8. -               goto PatchUp;
  9. +               if (vmask != CWEventMask ||
  10. +                   (Mask)*pVlist != SubstructureRedirectMask)
  11. +               {
  12. +                  error = result;
  13. +                  goto PatchUp;
  14. +               }
  15.             }
  16.             pVlist++;
  17.             break;
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-14 18:01:13 | 显示全部楼层
谢谢  ! 收到 。

我要昏倒了 ,我不会用。
还是不要在xgl下 用永中了。
回复 支持 反对

使用道具 举报

发表于 2006-6-15 18:25:50 | 显示全部楼层
永中修改系统字体问题怎么解决?
回复 支持 反对

使用道具 举报

发表于 2006-6-19 23:39:12 | 显示全部楼层

请问怎么用啊?

请问怎么用啊?

Post by midx
http://lists.freedesktop.org/arc ... 06-June/000224.html
  1. From:         Dan Winship <danw@novell.com>
  2. To:         Kalle Kärkkäinen <kalle.karkkainen@intstream.fi>
  3. Cc:         compiz@lists.freedesktop.org
  4. Subject:         Re: [compiz] Java and compiz
  5. Date:         Wed, 07 Jun 2006 12:22:25 -0400  (16:22 UTC)


  6. Kalle Kärkkäinen wrote:
  7. >     There was nothing of this in the archives, so whats the plan?
  8. > Anybody working on this already? Has there been some research on the
  9. > matter? Do you already secretly know where the fault is?

  10. Yes, the problem is that some of the java toolkit code assumes that all
  11. windowmanagers reparent windows, and so if a wm is running, then the
  12. toolkit waits for new windows to be reparented before it starts handling
  13. certain events on them. Since compiz doesn't reparent windows, it ends
  14. up waiting forever.

  15. Sun already has a fix for the bug, but I don't know when it will ship.

  16. For SUSE Linux Enterprise Desktop 10, we're using the attached patch to
  17. xgl to work around the problem. (It fakes out the test java uses to see
  18. if a wm is running.) The patch could potentially cause problems with
  19. other apps, though we aren't aware of any. You'll also want the latest
  20. CVS compiz to fix some problems with window placement and other things
  21. with java windows.

  22. -- Dan
复制代码

differences between files attachment (xgl-java-wmhack.diff)
  1. --- dix/window.c        2006/05/29 18:12:27     1.1
  2. +++ dix/window.c        2006/05/29 18:15:15
  3. @@ -1265,8 +1265,12 @@
  4.             result = EventSelectForWindow(pWin, client, (Mask )*pVlist);
  5.             if (result)
  6.             {
  7. -               error = result;
  8. -               goto PatchUp;
  9. +               if (vmask != CWEventMask ||
  10. +                   (Mask)*pVlist != SubstructureRedirectMask)
  11. +               {
  12. +                  error = result;
  13. +                  goto PatchUp;
  14. +               }
  15.             }
  16.             pVlist++;
  17.             break;
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表