Ticket #341 (closed 不具合: fixed)

Opened 2 years ago

Last modified 2 years ago

バッファをスクロールすると、前の文字が残って表示される

Reported by: anonymous Assigned to:
Priority: major Milestone: ver 3.00
Component: UI Version: 3.00 (開発中)
Keywords: Cc:

Description

環境は、

・WindowsXP

・Meadow3-r4150

ImageMagick?-2.9-1-Q16

です。navi2chのarticle-modeのバッファをスクロールさせると、残像みたいに文字が残って表示されます。

Attachments

Change History

2006年08月26日 16時56分35秒 changed by yamazaki

以下のパッチで状況は変わりますでしょうか?(私の環境ではnavi2chではなくemacs-w3mで発生したものですが。)

Index: mw32fns.c
===================================================================
--- mw32fns.c   (revision 4150)
+++ mw32fns.c   (working copy)
@@ -1933,7 +1933,6 @@
       else
        {
          PAINTSTRUCT ps;
-         RECT rc;

          /* Avoid conflicting with drawing in main thread. */
          if (INPUT_BLOCKED_P)
@@ -1945,12 +1944,11 @@
              BeginPaint (FRAME_MW32_WINDOW (f), &ps);
              GET_FRAME_HDC (f);

-             if (ps.fErase)
-               mw32_clear_native_frame_area (f,
-                                             ps.rcPaint.left,
-                                             ps.rcPaint.top,
-                                             ps.rcPaint.right,
-                                             ps.rcPaint.bottom);
+             mw32_clear_native_frame_area (f,
+                                           ps.rcPaint.left,
+                                           ps.rcPaint.top,
+                                           ps.rcPaint.right,
+                                           ps.rcPaint.bottom);

              expose_frame (f,
                            ps.rcPaint.left, ps.rcPaint.top,

2006年08月26日 17時35分52秒 changed by anonymous

OKです。有難うございます。 チケットどうしましょうか。

2006年08月26日 20時09分45秒 changed by yamazaki

  • status changed from new to closed.
  • resolution set to fixed.

ご確認ありがとうございました。r4151で対処しました。

原因は、r4150で正しく背景色を取り出すように修正されたため、今までは塗りつぶされていたのが、スキップされるようになったためのようです。NTEmacsでもexpose_frameの前に更新領域を塗りつぶしていますので、それにあわせました。

# WM_PAINT処理の際、無条件で背景色を塗りつぶすようになったため、実はWM_ERASEBKGNDでの
# 背景色でのクリア処理の必要がなくなったかもしれませんが、とりあえずは既存の処理のままにしています。

2006年08月26日 20時32分46秒 changed by anonymous

ありがとうございました。

2006年09月02日 10時25分32秒 changed by yamataku

  • status changed from closed to reopened.
  • resolution deleted.

r4154->r4155にsvn updateしたところ、 またnavi2chで文字の残像のような現象が発生しました。

2006年09月05日 00時54分50秒 changed by yamataku

  • status changed from reopened to closed.
  • resolution set to fixed.

r4157で修正されているのを確認しました。


Add/Change #341 (バッファをスクロールすると、前の文字が残って表示される)




Change Properties
Action