English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 12 October 2013, 21:29   #1
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,349
New area not refreshed after increasing RTG window size

In uaegfx RTG mode with "Always Center" off, you can increase the size of the emulation window but the RTG display remains at the top left of the resized window, with "trash" in the newly-exposed parts. Dragging another window over the emulation window leaves trash in the newly-exposed areas. Also, if you un-capture the mouse and click in a newly-exposed part of the window, the mouse is not captured. You have to click in the RTG area being refreshed in order for the mouse to be captured.

Happens with WinUAE 2.6.0b1 and later but not 2.5.1. With 2.5.1 (which doesn't have the Always Center option) on increasing RTG window size the newly-exposed parts are black and dragging another window over it doesn't leave trash. Clicking in the newly-exposed area does capture the mouse.
mark_k is offline  
Old 13 October 2013, 12:16   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
Window resize shouldn't be active in RTG modes unless center or scale options are enabled. Resizing is disabled here if centering is off.
Toni Wilen is offline  
Old 13 October 2013, 12:40   #3
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,349
Ah thanks, this looks like a bug/issue with Wine. When not using Wine's virtual desktop mode it seems the window isn't prevented from being resized.

Edit to add: How does WinUAE handle disabling window resizing? Does it get a message from Windows saying "the user is trying to resize you, is that okay?" which you then reply no to? Or do you set the window's minimum and maximum size to the same dimensions?

I noticed a similar issue with Wine before; when not in virtual desktop mode Wine doesn't know when the user is about to resize the window so can't send the appropriate message. Thus when Resizeable GUI is enabled, WinUAE doesn't re-layout the controls because it can't detect the window has been resized. So this could possibly be worked around by setting the emulation window min and max sizes to the same dimensions to prevent resizing.

Last edited by mark_k; 14 October 2013 at 20:40.
mark_k is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal window size changes on theme change mark_k support.WinUAE 2 23 December 2012 21:43
RTG window not refreshed when WinUAE is paused and restored mark_k support.WinUAE 0 10 February 2012 18:36
Increasing post size. Thorham project.EAB 5 15 December 2008 00:17
Updated Window Size Steve request.UAE Wishlist 2 12 November 2008 22:47
Window Size? Retro1234 request.UAE Wishlist 21 25 January 2008 14:10

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:28.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11520 seconds with 13 queries