public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* XServer draws to incorrect window when using VirtuaWin
       [not found]   ` <AANLkTim5rt1Pn-uVmf7p6iuS3Dc-oQXwSKTStcuMwKJq@mail.gmail.com>
@ 2010-08-13 11:09     ` Pete
  2010-09-03  9:01       ` Pete
  0 siblings, 1 reply; 6+ messages in thread
From: Pete @ 2010-08-13 11:09 UTC (permalink / raw)
  To: cygwin-xfree

VirtuaWin (http://virtuawin.sourceforge.net/) is a virtual desktop
manager for Windows that lets you switch between several "virtual
desktops", similar to those provided in KDE & Gnome.

When switching between desktops that have CygwinX windows open,
occasionally the Xserver draws to the wrong window. This is difficult
to describe, so will continue with an example:

Using Windows 7, Cygwin/X v1.8.0

Steps to reproduce:
1) Install VirtuaWin from http://virtuawin.sourceforge.net/
2) Start the CygwinX server
3) Open a (DOS) cygwin window
4) Type "xterm &" twice, to open two xterm windows. Maximise these two
windows to full screen.
5) Move one of these windows to desktop2
6) Type "ping google.com -n 1000" to get a stream of data appearing in
the xterm window on desktop2
7) Go back to desktop1, and make sure the DOS cygwin window is selected
8) Switch back to desktop2. The "ping" xterm window should be selected.
9) Switch back to desktop1. The cygwin window should be selected.

What should happen:
The empty xterm session on desktop1 should be displayed in the window
behind the cygwin window

What happens:
The ping data stream appears in the xterm window on desktop1, and
continues receiving updates every second.
Selecting the xterm window causes the ping data to disappear and the
empty xterm session to be displayed correctly.

This is reproducible every time. The critical thing is that if the
xterm window on desktop1 is not selected after a desktop switch, it
shows the data from the xterm window on desktop 2.

FWIW, this problem doesn't exist with xming, and I haven't seen the
issue with any other applications.

Any questions, please let me know.
Thanks,
Pete

--
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/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: XServer draws to incorrect window when using VirtuaWin
  2010-08-13 11:09     ` XServer draws to incorrect window when using VirtuaWin Pete
@ 2010-09-03  9:01       ` Pete
  2010-09-07 13:38         ` Jon TURNEY
  0 siblings, 1 reply; 6+ messages in thread
From: Pete @ 2010-09-03  9:01 UTC (permalink / raw)
  To: cygwin-xfree

On 13 August 2010 11:38, Pete <sneakypete81@gmail.com> wrote:
> VirtuaWin (http://virtuawin.sourceforge.net/) is a virtual desktop
> manager for Windows that lets you switch between several "virtual
> desktops", similar to those provided in KDE & Gnome.
>
> When switching between desktops that have CygwinX windows open,
> occasionally the Xserver draws to the wrong window. This is difficult
> to describe, so will continue with an example:
>
> Using Windows 7, Cygwin/X v1.8.0
>
> Steps to reproduce:
> 1) Install VirtuaWin from http://virtuawin.sourceforge.net/
> 2) Start the CygwinX server
> 3) Open a (DOS) cygwin window
> 4) Type "xterm &" twice, to open two xterm windows. Maximise these two
> windows to full screen.
> 5) Move one of these windows to desktop2
> 6) Type "ping google.com -n 1000" to get a stream of data appearing in
> the xterm window on desktop2
> 7) Go back to desktop1, and make sure the DOS cygwin window is selected
> 8) Switch back to desktop2. The "ping" xterm window should be selected.
> 9) Switch back to desktop1. The cygwin window should be selected.
>
> What should happen:
> The empty xterm session on desktop1 should be displayed in the window
> behind the cygwin window
>
> What happens:
> The ping data stream appears in the xterm window on desktop1, and
> continues receiving updates every second.
> Selecting the xterm window causes the ping data to disappear and the
> empty xterm session to be displayed correctly.
>
> This is reproducible every time. The critical thing is that if the
> xterm window on desktop1 is not selected after a desktop switch, it
> shows the data from the xterm window on desktop 2.
>
> FWIW, this problem doesn't exist with xming, and I haven't seen the
> issue with any other applications.
>
> Any questions, please let me know.
> Thanks,
> Pete
>

Is there anything else I can do to help debug this? Unfortunately it
is necessary to install VirtuaWin to reproduce the issue, but it's
very reproducible.

--
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/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: XServer draws to incorrect window when using VirtuaWin
  2010-09-03  9:01       ` Pete
@ 2010-09-07 13:38         ` Jon TURNEY
  2010-09-07 15:54           ` Pete
  2010-10-03 23:05           ` Marcin Wiśnicki
  0 siblings, 2 replies; 6+ messages in thread
From: Jon TURNEY @ 2010-09-07 13:38 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: sneakypete81

On 03/09/2010 10:01, Pete wrote:
> On 13 August 2010 11:38, Pete<sneakypete81@gmail.com>  wrote:
>> VirtuaWin (http://virtuawin.sourceforge.net/) is a virtual desktop
>> manager for Windows that lets you switch between several "virtual
>> desktops", similar to those provided in KDE&  Gnome.
>>
>> When switching between desktops that have CygwinX windows open,
>> occasionally the Xserver draws to the wrong window. This is difficult
>> to describe, so will continue with an example:

I'm afraid I think this falls into the category of "known problems", see [1].

The tricks that XWin uses to implement multiwindow mode don't seem to be 
compatible with the tricks that VirtuaWin uses to implement multiple desktops.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=21540

>> Using Windows 7, Cygwin/X v1.8.0
>>
>> Steps to reproduce:
>> 1) Install VirtuaWin from http://virtuawin.sourceforge.net/
>> 2) Start the CygwinX server
>> 3) Open a (DOS) cygwin window
>> 4) Type "xterm&" twice, to open two xterm windows. Maximise these two
>> windows to full screen.
>> 5) Move one of these windows to desktop2
>> 6) Type "ping google.com -n 1000" to get a stream of data appearing in
>> the xterm window on desktop2
>> 7) Go back to desktop1, and make sure the DOS cygwin window is selected
>> 8) Switch back to desktop2. The "ping" xterm window should be selected.
>> 9) Switch back to desktop1. The cygwin window should be selected.
>>
>> What should happen:
>> The empty xterm session on desktop1 should be displayed in the window
>> behind the cygwin window
>>
>> What happens:
>> The ping data stream appears in the xterm window on desktop1, and
>> continues receiving updates every second.
>> Selecting the xterm window causes the ping data to disappear and the
>> empty xterm session to be displayed correctly.
>>
>> This is reproducible every time. The critical thing is that if the
>> xterm window on desktop1 is not selected after a desktop switch, it
>> shows the data from the xterm window on desktop 2.
>>
>> FWIW, this problem doesn't exist with xming, and I haven't seen the
>> issue with any other applications.

Xming version number, please?

> Is there anything else I can do to help debug this? Unfortunately it
> is necessary to install VirtuaWin to reproduce the issue, but it's
> very reproducible.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: XServer draws to incorrect window when using VirtuaWin
  2010-09-07 13:38         ` Jon TURNEY
@ 2010-09-07 15:54           ` Pete
  2010-10-03 23:05           ` Marcin Wiśnicki
  1 sibling, 0 replies; 6+ messages in thread
From: Pete @ 2010-09-07 15:54 UTC (permalink / raw)
  To: cygwin-xfree

On 7 September 2010 14:38, Jon TURNEY <jon.turney@dronecode.org.uk> wrote:
> On 03/09/2010 10:01, Pete wrote:
>> On 13 August 2010 11:38, Pete<sneakypete81@gmail.com>  wrote:
>>>
>>> VirtuaWin (http://virtuawin.sourceforge.net/) is a virtual desktop
>>> manager for Windows that lets you switch between several "virtual
>>> desktops", similar to those provided in KDE&  Gnome.
>>>
>>> When switching between desktops that have CygwinX windows open,
>>> occasionally the Xserver draws to the wrong window. This is difficult
>>> to describe, so will continue with an example:
>
> I'm afraid I think this falls into the category of "known problems", see
> [1].
>
> The tricks that XWin uses to implement multiwindow mode don't seem to be
> compatible with the tricks that VirtuaWin uses to implement multiple
> desktops.
>
> [1] https://bugs.freedesktop.org/show_bug.cgi?id=21540

Thanks for your reply. You're right, this is the same issue. I'll
update the bug.

>
>>> Using Windows 7, Cygwin/X v1.8.0
>>>
>>> Steps to reproduce:
>>> 1) Install VirtuaWin from http://virtuawin.sourceforge.net/
>>> 2) Start the CygwinX server
>>> 3) Open a (DOS) cygwin window
>>> 4) Type "xterm&" twice, to open two xterm windows. Maximise these two
>>> windows to full screen.
>>> 5) Move one of these windows to desktop2
>>> 6) Type "ping google.com -n 1000" to get a stream of data appearing in
>>> the xterm window on desktop2
>>> 7) Go back to desktop1, and make sure the DOS cygwin window is selected
>>> 8) Switch back to desktop2. The "ping" xterm window should be selected.
>>> 9) Switch back to desktop1. The cygwin window should be selected.
>>>
>>> What should happen:
>>> The empty xterm session on desktop1 should be displayed in the window
>>> behind the cygwin window
>>>
>>> What happens:
>>> The ping data stream appears in the xterm window on desktop1, and
>>> continues receiving updates every second.
>>> Selecting the xterm window causes the ping data to disappear and the
>>> empty xterm session to be displayed correctly.
>>>
>>> This is reproducible every time. The critical thing is that if the
>>> xterm window on desktop1 is not selected after a desktop switch, it
>>> shows the data from the xterm window on desktop 2.
>>>
>>> FWIW, this problem doesn't exist with xming, and I haven't seen the
>>> issue with any other applications.
>
> Xming version number, please?

It was 6.9.0.31.

--
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/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: XServer draws to incorrect window when using VirtuaWin
  2010-09-07 13:38         ` Jon TURNEY
  2010-09-07 15:54           ` Pete
@ 2010-10-03 23:05           ` Marcin Wiśnicki
  2010-10-03 23:30             ` Marcin Wiśnicki
  1 sibling, 1 reply; 6+ messages in thread
From: Marcin Wiśnicki @ 2010-10-03 23:05 UTC (permalink / raw)
  To: cygwin-xfree

On Tue, 07 Sep 2010 14:38:08 +0100, Jon TURNEY wrote:

> On 03/09/2010 10:01, Pete wrote:
>> On 13 August 2010 11:38, Pete<sneakypete81@gmail.com>  wrote:
>>> VirtuaWin (http://virtuawin.sourceforge.net/) is a virtual desktop
>>> manager for Windows that lets you switch between several "virtual
>>> desktops", similar to those provided in KDE&  Gnome.
>>>
>>> When switching between desktops that have CygwinX windows open,
>>> occasionally the Xserver draws to the wrong window. This is difficult
>>> to describe, so will continue with an example:
> 
> I'm afraid I think this falls into the category of "known problems", see
> [1].
> 
> The tricks that XWin uses to implement multiwindow mode don't seem to be
> compatible with the tricks that VirtuaWin uses to implement multiple
> desktops.
> 

Have you considered using Composite, i.e. embedding composite manager 
inside Xwin. I don't know anything about Xwin internals but to me it 
seems that without acceleration it would be as simple as blitting 
offscreen pixmaps of X windows to native win32 windows and it should 
basically solve this and other Xwin rendering quirks, like seeing black 
rectangle before new window is created.

In fact there is a `screen`-type application xpra[2] that works this way, 
except it connects to existing X server (like Xvfb) where it acts as 
window and compositing manager and then renders redirected windows with 
gtk on your real desktop.

[2] http://code.google.com/p/partiwm/source/browse/README.xpra#159

> [1] https://bugs.freedesktop.org/show_bug.cgi?id=21540
> --
> Jon TURNEY
> Volunteer Cygwin/X X Server maintainer



--
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/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: XServer draws to incorrect window when using VirtuaWin
  2010-10-03 23:05           ` Marcin Wiśnicki
@ 2010-10-03 23:30             ` Marcin Wiśnicki
  0 siblings, 0 replies; 6+ messages in thread
From: Marcin Wiśnicki @ 2010-10-03 23:30 UTC (permalink / raw)
  To: cygwin-xfree

On Sun, 03 Oct 2010 23:01:50 +0000, Marcin Wiśnicki wrote:

> On Tue, 07 Sep 2010 14:38:08 +0100, Jon TURNEY wrote:
>>>> When switching between desktops that have CygwinX windows open,
>>>> occasionally the Xserver draws to the wrong window. This is difficult
>>>> to describe, so will continue with an example:
>> 
>> I'm afraid I think this falls into the category of "known problems",
>> see [1].
>> 
>> The tricks that XWin uses to implement multiwindow mode don't seem to
>> be compatible with the tricks that VirtuaWin uses to implement multiple
>> desktops.
>> 
>> 
> Have you considered using Composite, i.e. embedding composite manager

Ahh! Ignore that, I've found the bug[3] is sourceware bugzilla.

Why are two different bugzillas used for Xwin ?

[3] http://sourceware.org/bugzilla/show_bug.cgi?id=11294
> 
> [2] http://code.google.com/p/partiwm/source/browse/README.xpra#159
> 
>> [1] https://bugs.freedesktop.org/show_bug.cgi?id=21540 --
>> Jon TURNEY
>> Volunteer Cygwin/X X Server maintainer



--
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/


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-10-03 23:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTimMGMLYqBe4pDPO=R5NJ+vV8em9EpEorRN=Ah7D@mail.gmail.com>
     [not found] ` <AANLkTinuqPcousugZwCVhPP3vgZ5tKrX39wbi2Wmr1BR@mail.gmail.com>
     [not found]   ` <AANLkTim5rt1Pn-uVmf7p6iuS3Dc-oQXwSKTStcuMwKJq@mail.gmail.com>
2010-08-13 11:09     ` XServer draws to incorrect window when using VirtuaWin Pete
2010-09-03  9:01       ` Pete
2010-09-07 13:38         ` Jon TURNEY
2010-09-07 15:54           ` Pete
2010-10-03 23:05           ` Marcin Wiśnicki
2010-10-03 23:30             ` Marcin Wiśnicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).