Bug 74767 - redraw problems with krdc
Summary: redraw problems with krdc
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Solaris
: NOR normal
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 21:57 UTC by Aaron Williams
Modified: 2007-07-23 22:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Williams 2004-02-09 21:57:46 UTC
Version:           unknown (using KDE 3.2.0, compiled sources)
Compiler:          gcc version 3.3.2
OS:          SunOS (sun4u) release 5.8

Whenever krdc needs to redraw an area I get:

X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode:  62
  Minor opcode:  0
  Resource id:  0x0


I am running this on Solaris 2.8 and QT 3.2.2.
Comment 1 Aaron Williams 2004-02-10 01:30:39 UTC
I have traced the problem to the Expose case in xwin_process_event.  Solaris indicates that DoesBackingStore is always, resulting in backing store not being initialized.

After adding the check to see if ownbackstore is true, I no longer see the error message.  However, screen redraws are not occurring when they should.

If I force ownbackstore to True I still see redraw problems, but interestingly enough, bug 69637 goes away.  Bug 69637 may therefore be related.
Comment 2 Aaron Williams 2004-02-10 01:55:27 UTC
Scratch my comments about the keyboard - it's still acting up and forcing backing store on seems to fix the redraw problems.  I'll know more after I get a valid account on the server.
Comment 3 Aaron Williams 2004-02-13 23:51:10 UTC
I've got a valid account now and I'm still seeing some redraw issues after forcing ownbackstore to true.  If I do not force ownbackstore to true, as is what usually happens, the screen is not updated in most cases.  When I force it to be true, the behavior is much better except after I toggle Advanced->View Only.

Whenever I toggle View Only, the window is cleared to grey.  It works again when I force a redraw (i.e. minimize and restore).
Comment 4 Martin Ostertag 2004-02-27 15:42:01 UTC
I have the same problem here
Comment 5 tim 2004-02-27 19:52:21 UTC
On Linux/XFree, or Solaris?
Comment 6 Urs Wolfer 2007-07-23 22:52:50 UTC
SVN commit 691520 by uwolfer:

Move the almost rewritten KRDC (Google Summer of Code project) back to trunk.

Discussed on release team mailing list.

The following issues are resolved with the new version. More issues should be resolved too, but they need some more review. If you have again a problem, please open a new bug report.

#49970: Fullscreen doesn't work with xinerama
#59026: Synchronize KRDC with LibVNCClient
#69635: Full screen mode changes X resolution, but does not recenter window
#69636: closing KRDC while in full screen mode does not restore the screen
#74767: redraw problems with krdc
#116934: report bug entry missing
#121146: window title should include host connection type
#123346: Dock icons not themeable
#127002: Enhancement request: Add Desktop number for storing passwords in kdewallet for vnc connections 
#127034: can not send esc keystroke to remote machine inside krdc
#132367: kwallet integration only stores the password, username needed as well for some viewers
#136049: RFE: use tabbed interface
#136462: Password in link ignored
#137141: do not send current unix username to server
#137182: turning fullscreen changes resolution, not the window size
#141783: krdc doesn't works with --fullscreen option
#146210: keystrokes are poorly transferred

BUGS: 49970, 59026, 69635, 69636, 74767, 116934, 121146, 123346, 127002, 127034, 132367, 136049, 136462, 137141, 137182, 141783, 146210

 A             krdc (directory)   branches/work/soc-krdc/krdc#691519