1.5.3 (20090222): window stacking order redraw bug

2009-05-13 Thread Gary Steele
Hi,

I've noticed a bug with the redrawing of windows under win32 with multiwindow
mode.

I am using Cygwin/X version 1.5.3 (20090222), which I believe (?) is based on
xorg 7.4.

I use a program called VirtualWin to add virtual desktop functionality under
XP. When switching between two desktops that contain Xorg windows, it
frequently occurs that the contents of the windows one the new desktop are
drawn with the contents of overlapping windows on the previous desktop. I've
illustrated this here with some screenshots:

http://qt.tn.tudelft.nl/~gsteele/desktop_emacs.jpg
http://qt.tn.tudelft.nl/~gsteele/desktop_xterm.jpg

I have also noticed this bug when using a program TrueXMouse, which emulates
full mouse focus under XP. It seems that using these programs, Xorg sometimes
get confused about which window is on top of which, and draws the incorrect
window contents.

I've noticed some very old messages relating to window stacking order problems
which seem to be the same thing I'm having:

http://sourceware.org/ml/cygwin-xfree/2004-03/msg00849.html
http://sourceware.org/ml/cygwin-xfree/2004-04/msg00093.html
http://sourceware.org/ml/cygwin-xfree/2004-04/msg00340.html
http://sourceware.org/ml/cygwin-xfree/2005-05/msg00191.html

Is there a fix for this?

Thanks,
Gary

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: (some) xterm disappearing when typing

2009-05-13 Thread Jon TURNEY

SS BB wrote:

No, it doesn't work that would be too easy...


I suspect you might have the problem referred to in 
http://sourceware.org/bugzilla/show_bug.cgi?id=9780


If you'd mentioned the OS of the remote system you are running the xterm 
client on, I'd be more sure.



On Tue, Mar 10, 2009 at 6:16 PM, SS BB sshi3...@gmail.com wrote:

I don't have any of those variables set in my shell, does it make
it more challenging? :-)

plus, if I do have some of those set, shouldn't all xterm fail??


On Tue, Mar 10, 2009 at 5:55 PM, SS BB sshi3...@gmail.com wrote:

Hi, I ran cygwin X at work and everything works fine except one thing:
we have some special command that launches an xterm to a production
window via ssh/X11 tunneling. This window will disappear on me when I
attempt to type into it.

All my regular xterm works perfectly fine, and I don't see any logs or
anything on the X server side. This used to work with my previous installation
of cygwin X. Does anybody have an idea what's going on here? or even how
do I diagnose this problem, since the window will disappear no matter what I
type.


Does the xterm not produce any error output in the ssh session when it dies?

This issue hasn't really been progressed, because it's hard to duplicate 
without access to a remote system which shows this problem.  A wireshark 
capture of the packets exchanged with the remote system leading up to the 
failure might be useful.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: commnd line parameter -nolisten is incompatible wih -multiwindow ?

2009-05-13 Thread Jon TURNEY

ludo wrote:
 Hello,

 I can't start XWin with both -nolisten and -multiwindow parameter
 Is this a bug or a ... feature ?

 $ XWin :0 -multiwindow -nolisten tcp
 [...]

 of course XWin :0 -multiwindow works fine

 Any suggestion ?

XWin -multiwindow or -clipboard will not be compatible with -nolisten tcp, as 
those options start clients (the Windows window manager integration window 
manager and the clipboard integration, respectively) which expect to be able 
to connect to the X server via TCP.


I suppose this is a bug, in the sense that we ought to detect the incompatible 
arguments and terminate with an error, but anyone using -nolisten tcp should, 
I hope, be able to interpret the output from the server (saying I tried to 
connect to 127.0.0.1:0.0 and failed) to work out what the problem is :-)


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: [1.7] Updated: cygwin-1.7.0-45

2009-05-13 Thread Jon TURNEY

Yaakov (Cygwin/X) wrote:

Thomas Wolff wrote:
Now that cygwin supports UTF-8 in a standard fashion, I think it's time 
to also add Unicode fonts to the Cygwin/X distribution. Otherwise the 
additional value of running xterm or rxvt in UTF-8 mode is quite limited.


I would be willing to provide the Unicode versions of the standard 
misc-fixed fonts (source: http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html) 
as a package maintainer, if that's accepted.
(I would appreciate some positive feedback before taking the effort 
to prepare the package.)


1) Do any major Linux distros package these fonts?  I can't find such a
package in Gentoo or Debian.

2) Many of these fonts collide with those provided by X.Org.  How would
you intend to deal with this?


I think these are non-issues.  Markus Kuhn's updated fonts have been 
incorporated into X.Org for some time, so unicode fonts with an extended range 
of glyphs are installed on your hard disk right now :-)


Or at least, 'xlsfonts  | grep iso10646-1' shows a number of fonts for me.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Pipe (|) symbol under spanish keybord in xterm

2009-05-13 Thread Jon TURNEY

Gery Herbozo Jimenez wrote:


Thanks for the tip. I run the command line: WXin.exe -xkblayout es, 
appeared the Cygwin/X terminal (gray one) and I got the pipe but with other

key, weird or normal? should I run this command or put it in the Xorg.conf file?


I hope this means that it is working correctly, now.

The most common Spanish keyboard layout should be auto-detected, so I guess 
you have a slightly unusual one.  If you could provide the information 
requested in http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-submit-layout

we can add it in future.

 should I run this command or put it in the Xorg.conf file?

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-why-no-xf86config




Date: Wed, 8 Apr 2009 11:10:17 -0400
Subject: Re: Pipe (|) symbol under spanish keybord in xterm
From: markjr...@gmail.com
To: cygwin-xfree@cygwin.com

On Wed, Apr 8, 2009 at 10:37 AM, Gery Herbozo Jimenez wrote:

I've been working for a while with a spanish keyboard

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-non-U.S.-keyboard-layout


and up to now I don't know how to get the pipe (|) symbol in my xterm terminal. 
However, I
do get it in the bash terminal without problems using Ctrl + Alt + 1. When I 
follow this step
in the xterm I get this instead of the pipe: (arg: 1). What does it mean?

In readline's emacs mode, holding down the alt key while typing
numbers is how you enter a repeat count for an editing command - e.g.
alt-3 alt-f (hold down alt and type 3f) to go forward three words. The
(arg: 1) means you've typed a repeat count of 1 so far (you could
add more digits to make it 10 or something). The control key is not
contributing anything in this instance.

It seems X is not recognizing your keyboard layout. I'd try adding
-xkblayout es to the X server command line, as indicated in the
above FAQ entry.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Xwin X Server crashing when using -query startup option to Fedora 11

2009-05-13 Thread Jon TURNEY

Mark Chesterfield wrote:

Hi,

I am trying to connect to the preview release of Fedora 11 running Gnome 
2.26 on my

laptop and am getting an Xwin server crash.


This isn't a crash.  The Xwin server is terminating with a error.

I  know my Xwin Server works with the -query startup option as I use 
this option

at work with the laptop.

So i have a couple of questions:
a. Have I hit a bug?
b. Does it appear to be an Xwin bug or should I instead be submitting
it to the Fedora 11 support forums and bug handling menchanisms?
c. Any ideas for a workaround ?



Fatal server error:
XDMCP fatal error: Session declined Maximum number of open sessions from 
your host reached


This error says that XWin couldn't start an XDMCP session as the remote host 
declined for the reason stated.


Since your XWin can start XDMCP sessions with other remote hosts, I think this 
is a bug or configuration error in your Fedora 11 host.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X server fails to start on Vista

2009-05-13 Thread Jon TURNEY

Kim Goldov wrote:

Run as Administrator did not make a difference. The X icon does not
appear hidden or otherwise, no terminal pops up (as it does on my XP
machine), and no process shows in the task manager.

The bash shell works fine.

The /var/log/XWin.0.log file appears as noted earlier.


You're not running a different X server as well, are you?

Check the output of netstat -p for lines of the form TCP 
yourcomputername:6000 ?


Does /usr/bin/XWin :1 -multiwindow -clipboard -silent-dup-error fail in the 
same way?



Kim



Also be sure to start the X server with the Run as Administrator
option. Ditto for the Cygwin bash shell.



Scott


Paul Loewenstein wrote:
And make sure the icon isn't hidden (I set Vista to always show the X 
Windows icon).


Paul



Kim Goldov wrote:

I downloaded Cygwin-X per the instructions in
http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html

When selecting Cygwin-X - XWin Server in the start menu, X does not
start and I get the following /var/log/XWin.0.log ...

/usr/bin/XWin -multiwindow -clipboard -silent-dup-error

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't
already running


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/