Re: X server window resizes after remote desktop, and can't resize back

2004-08-08 Thread Ed Avis
Here is another example of the problem where remote desktop causes the
X server window to resize but on logging in locally it doesn't get
restored to its former size.

If the bug is tricky to fix, a possible workaround would be to let the
user manually override the size of the X server window, for example by
enabling the Maximize button.

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-12

Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

/usr/X11R6/bin/XWin -clipboard -engine 1 -br 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1200 h 1600
winInitializeDefaultScreens - Returning
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using user's preference: 1
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1194 height: 1547 depth: 32
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shared 
memory support in the kernel
(--) Setting autorepeat to delay=250, rate=31
(--) winConfigKeyboard - Layout: 0809 (0809) 
(--) Using preset keyboard for English (United Kingdom) (809), type 4
Rules = xorg Model = pc105 Layout = gb Variant = (null) Options = (null)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
winPointerWarpCursor - Discarding first warp: 597 773
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 8
winWindowProc - WM_DISPLAYCHANGE - new width: 1024 new height: 720
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 8, new bpp: 32
winWindowProc - WM_DISPLAYCHANGE - new width: 1200 new height: 1600
winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, 
exiting main loop.
winClipboardProc - XDestroyWindow succeeded.
winDeinitMultiWindowWM - Noting shutdown in progress
 

-- 
Ed Avis [EMAIL PROTECTED]




Re: X server window resizes after remote desktop, and can't resize back

2004-05-12 Thread Ed Avis
Ed Avis [EMAIL PROTECTED] writes:

I remote desktop'd into my XP machine using a smaller display size
than the monitor connected locally.  When I went back in front of the
machine I found that the X server window had shrunk to roughly the
size of the remote desktop screen, but had not grown back again when
I logged in locally.

Here is a second XWin.log showing the problem.  I tried changing the
display size from control panel back and forth a few times, but the X
server window refused to grow back to its former size.

Maybe there could be some logging saying 'I noticed a change in
Windows display size and I am resizing the X window accordingly' or 'I
noticed a change in Windows display size but will not change the X
window size'.  Then one could see what is the intended behaviour.

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-7

Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

/usr/X11R6/bin/XWin -clipboard -engine 1 -br 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1200 h 1600
winInitializeDefaultScreens - Returning
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winScreenInit - dwWidth: 1200 dwHeight: 1600
winSetEngine - Using user's preference: 1
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1194 height: 1547 depth: 32
winAllocateFBShadowGDI - Dibsection width: 1194 height: 1547 depth: 32 size image: 
7388472
winAllocateFBShadowGDI - Created shadow stride: 1194
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shared 
memory support in the kernel
(--) Setting autorepeat to delay=250, rate=31
(--) winConfigKeyboard - Layout: 0809 (0809) 
(--) Using preset keyboard for English (United Kingdom) (809), type 4
Rules = xorg Model = pc105 Layout = gb Variant = (null) Options = (null)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
winPointerWarpCursor - Discarding first warp: 597 773
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
CompoundText, aborting: 1
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed for 
UTF8String, aborting: 1
winProcessXEventsTimeout - Call to select () failed: 0.  Bailing.
winClipboardFlushXEvents - SelectionNotify - XConvertSelection () failed 

X server window resizes after remote desktop, and can't resize back

2004-05-04 Thread Ed Avis
I remote desktop'd into my XP machine using a smaller display size
than the monitor connected locally.  When I went back in front of the
machine I found that the X server window had shrunk to roughly the
size of the remote desktop screen, but had not grown back again when I
logged in locally.

The maximize button on the window is greyed out and I can't resize the
window using its borders, so there seems to be no way to restore the
original size.  The log (shown below) indicates that the X server did
notice the change of screen size, but for whatever reason didn't
resize its window.

I think it is a bug that the window didn't get restored to its
original size, but I'd also like to request some kind of manual
resizing option (perhaps ungreying the maximize button) so the server
can be fixed if the problem happens again.

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-4

Contact: [EMAIL PROTECTED]

XWin was started with the following command line:

/usr/X11R6/bin/XWin -clipboard -engine 1 -br 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1200 h 1600
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winValidateArgs - Returning.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winScreenInit - dwWidth: 1200 dwHeight: 1600
winSetEngine - Using user's preference: 1
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winCreateBoundingWindowWindowed - User w: 1200 h: 1600
winCreateBoundingWindowWindowed - Current w: 1200 h: 1600
winAdjustForAutoHide - Original WorkArea: 0 0 1572 1200
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1572 1200
winCreateBoundingWindowWindowed - WindowClient w 1194 h 1547 r 1194 l 0 b 1547 t 0
winCreateBoundingWindowWindowed -  Returning
winAllocateFBShadowGDI - Creating DIB with width: 1194 height: 1547 depth: 32
winAllocateFBShadowGDI - Dibsection width: 1194 height: 1547 depth: 32 size image: 
7388472
winAllocateFBShadowGDI - Created shadow stride: 1194
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
winRandRInit ()
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winFinishScreenInitFB - returning
winScreenInit - returning
InitOutput - Returning.
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shared 
memory support in the kernel
(--) Setting autorepeat to delay=250, rate=31
(--) winConfigKeyboard - Layout: 0809 (0809) 
(--) Using preset keyboard for English (United Kingdom) (809), type 4
Rules = xorg Model = pc105 Layout = gb Variant = (null) Options = (null)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
winPointerWarpCursor - Discarding first warp: 597 773
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
winClipboardWindowProc - WM_DRAWCLIPBOARD - Initializing - Returning.
winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 32
winWindowProc - WM_DISPLAYCHANGE - new width: 1600 new height: 1200
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 32
winWindowProc - WM_DISPLAYCHANGE - new width: 1200 new height: 1600
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 8
winWindowProc - WM_DISPLAYCHANGE - new width: 1152 new height: 864
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 8, new bpp: 8
winWindowProc - WM_DISPLAYCHANGE - new width: 1200 new height: 900
winWindowProc - WM_DISPLAYCHANGE - orig bpp: 32, last bpp: 8, new bpp: 32
winWindowProc - WM_DISPLAYCHANGE - new width: 1200 new height: 1600


-- 
Ed Avis [EMAIL PROTECTED]