Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4314208

JTable: cell contents vertically distorted/chopped when scrolling (cf. Stylepad)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.0
    • client-libs
    • 2d
    • x86
    • windows_98

      (please also see Comments section)

      Name: krT82822 Date: 02/19/2000


      environment:

      win98, 1024x768x16bit. (" Changing this doesn't seem to affect the scrolling problems.")
      and NO use of soft/3D cursors or desktop themes in win98
      [have not been able to reproduce here, so we asked user to submit screen images]
      ---------------------

      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      [may be related to bug # 4303458.]

      When running any Swing application with some scrolling features the repainting
      mechanism shows some terrible results. There's no other way to put it, just run
      SwingSet or StylePad or anything else and observe. I searched the bugparade and
      since I haven't found any previous reports on this I'm quite surprised. Maybe
      it's my computer..that is to say, the graphics card. I'm using Voodoo3. I've
      downloaded the latest drivers from the 3dfx's site but there was no improvement.
      I think there is a problem with the implementation of the default scrolling mode
      (BLIT_SCROLL_MODE?). Even if it's 3dfx's fault (which, quite frankly, i don't
      believe) many people have Voodoo cards and therefore the situation needs to be
      looked into, asap.

      ----------------------------

      16 Feb 2000 in reply to our asking for clarification (the "> " questions are ours), user replied:

      > Please comment further via email.

      Yessir! I'd send you a picture of the result sooner, however bug submission form has
      no means to do that. I'll attach the images that describe the problem to this
      message.


      > Terrible means SLOW, or weird pixels on the screen, or both, or what?

      As the images show, weird pixels. It looks like that pixels from the wrong buffer
      portion are copied to the newly exposed area when scrolling.


      > Excessive repainting (# of repaints)?

      No.

      > What is the resolution and # of colors you're using?

      1024x768x16bit. Changing this doesn't seem to affect the scrolling problems.

      >
      > Have you tried with themes and/or soft cursors turned off? (Yes, I realize
      > that problem should no longer eixst)

      I don't use themes or soft cursors. Desktop of Win98 is the default I got (no
      background, screensaver or whatever fancy).


      > Please send more info ASAP. "Terrible" doesn't help much.

      Again, sorry for the incomplete report. It's hard to explain without a screenshot. I
      hope the images will clear things up, if not, i'm still available to help further.



      -----------------------------

      [ Attached were two images, one of SwingSet2's JTable demo, with lines squashed vertically together during scroll, and a similar thing for Stylepad (reported
      by other users, as well) ]
      (Review ID: 101252)
      ======================================================================

      Name: krT82822 Date: 02/20/2000


      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      When I scroll in the application SwingSet2 demo I have corrupted lines.
      By corrupted lines I mean text lines where I see only the top of the lines and
      twice the same part of text : I've a 3.5 lines and then the same 3.5 lines in
      the JScrollPane.
      I can see this in the TabPanes of SourceCode, JList, JTable but not in the
      JScrollPane demo.

      My video card is an ATI Rage 128 GL AGP, Pentium III 700Mhz, 256MB RAM.
      I4ve tried several configuration with the same problem : DirectX5, DirectX7.0a,
      High Color(16bits), True Color (32 bits).
      I known others persons that have the same problem.
      It's a standard config on Gateway's computer.

      I don't have this problem in JEdit : http://www.gjt.org/~sp/jedit.html
      The refresh is ok when I click inside the JScrollPane
      I'm also thinking at a SwingUtilities.invokeLater(...getViewPort().repaint())
      when the scrolling ends.

      E-mail me if you want any screenshot or more information.
      (Review ID: 101218)
      ======================================================================

            tdv Dmitri Trembovetski (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: