#383 Bit-blight under GNOME2/VNC, and 2+ tabs

development
open
nobody
Program (402)
5
2004-07-21
2004-07-21
Scott Tringali
No

Resizing an nedit window under the above configuration produces a broken display.

1) Run a VNC server on Linux (I'm using Fedora Core 2)
2) Inside VNC, run GNOME's window manager "metacity". (The easiest way to do this is to put "exec gnome-session" into your .vnc/xstartup file before starting the server.)
3) Start up a VNC client.
4) Open nedit on any 2 files with signficant text, in tabbed mode.
5) Grab the right edge of the windowand drag left so that it chops off the text. Without letting go, drag slowly to the the right.

See attached screenshot for problem.

Metacity insists on using opaque-resize; if you have wireframe resize you will not see the problem. Also, everything's OK if you only have one tab. KDE's window manager seems okay under both VNC and non-VNC.

Discussion

  • Scott Tringali
    Scott Tringali
    2004-07-21

    Screenshot of misdrawn display

     
    Attachments
  • Thorsten Haude
    Thorsten Haude
    2004-07-21

    Logged In: YES
    user_id=119143

    I don't see it with opaque resize w/ Sarge and
    Enlightenment. No VNC around though.

     
  • Scott Tringali
    Scott Tringali
    2004-07-22

    Logged In: YES
    user_id=11321

    True, if I run this outside a VNC I don't see the problem.
    If you're a debian user, should be easy to install and use
    VNC (I was using TightVNC).

     
  • Nathan Gray
    Nathan Gray
    2004-07-22

    Logged In: YES
    user_id=121553

    Could this be a metacity bug? Do you think this problem is important
    enough to delay 5.5? I'm inclined to say we should go ahead with 5.5
    and try to solve this in the meantime.

     
  • Scott Tringali
    Scott Tringali
    2004-07-23

    Logged In: YES
    user_id=11321

    I don't think so. If it was a metacity bug, then it
    probably would effect untabbed windows too. But it's fine
    in 5.4 and previous.

    I don't think this is a huge problem, but it indicates
    something in the redraw routines isn't quite right, and
    we're "getting lucky" in some case. There are probably more
    cases where this happens under other odd conditions.

     
  • Thorsten Haude
    Thorsten Haude
    2004-07-24

    Logged In: YES
    user_id=119143

    No problem w/ Sarge, E and VNC. Your .vnc/xstartup trick
    does not work, I'll see that I get Metacity going.

     
  • Thorsten Haude
    Thorsten Haude
    2004-07-24

    Logged In: YES
    user_id=119143

    I see it, but I can't make it happen with the first tab.
    Where is the difference between the first and the other ones?

     
  • Scott Tringali
    Scott Tringali
    2004-07-24

    Logged In: YES
    user_id=11321

    I hadn't noticed, but it is possible that only the rightmost
    tab has this problem.

    Also, I don't use anything strange like different fonts
    per-tab.

     
  • Thorsten Haude
    Thorsten Haude
    2004-07-24

    Logged In: YES
    user_id=119143

    Nope, I had three tabs open, two of them showed the error.
    Only the first tab was unaffected. No fancy fonts here either.

     
  • TK Soh
    TK Soh
    2004-07-26

    Logged In: YES
    user_id=411637

    > I don't think so. If it was a metacity bug, then it
    > probably would effect untabbed windows too. But
    > it's fine in 5.4 and previous.

    Your initial post asked for 2 files opened in tabbed mode to
    recreate the bug. What happen if you try it with untabbed
    windows?

     
  • Scott Tringali
    Scott Tringali
    2004-07-26

    Logged In: YES
    user_id=11321

    There are no problems when the tabs aren't visible.

     
  • TK Soh
    TK Soh
    2004-07-27

    Logged In: YES
    user_id=411637

    Here's the update of my finding so far:

    1. somehow the expose events, which triggers redisplay(), do
    not get generated as 'often' on the second tab as I resized
    the window, comparing to the first one. In some cases the
    events are not generated at all, and this is when we get the
    scrambled text.

    2. If I took out the XClearArea() calls at the end of resize(),
    then the text will be updated properly but, of 'cos, the right
    and bottom edges don't get cleared as intended by the
    XClearArea() calls.

     
  • Scott Tringali
    Scott Tringali
    2004-07-27

    Logged In: YES
    user_id=11321

    That's very strange. I know we have some stuff where we
    mess around with the expose queue (Steve L, I think), are we
    finding some sort of incompatability with that?