English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 15 December 2019, 22:38   #1
sparhawk
Registered User
 
sparhawk's Avatar
 
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
Pixels missing in window (WinUAE 4.2.1)

When running WinUAE in a window there is a black bar a few pixels high on the bottom. When I move a window down there, the pixels of the window are also missing in that area.


Tried it also in full screen mode, and it's the same there.


Any fix for that?
sparhawk is offline  
Old 16 December 2019, 12:14   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
Not enough information. But note that last visible scanline can't have any graphics data, only background color. (Chipset feature/bug)
Toni Wilen is online now  
Old 16 December 2019, 12:48   #3
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,488
Toni, I suppose he is referring to this:


Before 4.2.1 the window is normal:


Unrelated to last (in)visible line, these black row are 'outside' of the Amiga frame.
Attached Thumbnails
Click image for larger version

Name:	blr.jpg
Views:	321
Size:	8.5 KB
ID:	65544   Click image for larger version

Name:	norm.jpg
Views:	300
Size:	7.9 KB
ID:	65545  
ross is offline  
Old 16 December 2019, 13:29   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
Possibly but still not enough information. (config file at least)
Toni Wilen is online now  
Old 16 December 2019, 13:39   #5
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
ross, isn't that due to having vertical centering on.

Switch this off and you'll get image 2
DamienD is offline  
Old 16 December 2019, 17:24   #6
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,488
Quote:
Originally Posted by Toni Wilen View Post
Possibly but still not enough information. (config file at least)
Well, no config file at all I'm using a default Quickstart A500 setup (but the 'problem' is on ANY config).

Host machine: W10 1909 D3D11 (1920x1080 125%).

Quote:
Originally Posted by DamienD View Post
ross, isn't that due to having vertical centering on.

Switch this off and you'll get image 2
Nope, same with vertical centering on or off.
ross is offline  
Old 16 December 2019, 17:42   #7
sparhawk
Registered User
 
sparhawk's Avatar
 
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
I have attached the screenshot and the settings. Centerings was already off. I tried to switch it on and off, but there is no visble effect.

As you can see, there is the black bottom, as ross already pointed out, and when I move the window from the WB down to the bottom, the last (or so) lines are also not painted properly. Internally it seem to work correct with the full display though, because when I move the mousepointer in that hidden area, it still works even though one can not see it.
Attached Thumbnails
Click image for larger version

Name:	WinAUE_missingBottom.jpg
Views:	106
Size:	190.4 KB
ID:	65551  
Attached Files
File Type: uae config_dev_hd.uae (12.4 KB, 70 views)
sparhawk is offline  
Old 16 December 2019, 18:06   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
Can't duplicate. Tried without config (and without default.uae). No black bar.

Attached config is not that useful because it requires HD. Too many unknown variables but at least A1000 insert disk screen filled whole window. No black bar here either.

EDIT: Ah, only happens if >100% scaling. It seems bottom bar size is miscalculated because "minimal" window mode does not have this problem.
Toni Wilen is online now  
Old 16 December 2019, 18:56   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
Fixed. For some reason I took DPI in account when calculating status bar size but Windows does it internally and automatically. Perhaps this was done before I added different GUI DPI support. (Also fixed moving emulation window to other monitor with different DPI, status bar size was not recalculated correctly)
Toni Wilen is online now  
Old 16 December 2019, 19:11   #10
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,488
Quote:
Originally Posted by Toni Wilen View Post
Fixed. For some reason I took DPI in account when calculating status bar size but Windows does it internally and automatically. Perhaps this was done before I added different GUI DPI support. (Also fixed moving emulation window to other monitor with different DPI, status bar size was not recalculated correctly)
It works properly now, thanks.

Can you also do something about the debugger GUI? (yes, I know, not supported.. ).
Before these changes in DPI in 4.2.1 it worked right (now the chars position are.. wrong).
(I can add an image, only later tonight, if you want).
ross is offline  
Old 16 December 2019, 19:27   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
Problem is that DPI support is now letting Windows do the right thing automatically. Previously WinUAE did most of the calculations internally because "per monitor dpi aware v2" didn't exist. Old version sucked.

Debugger GUI assumes normal pixel mapping and mixes different ways to output things, some take DPI in account, some don't. Result is a mess. Not sure if this is easily fixed. (and it is also unsupported)
Toni Wilen is online now  
Old 16 December 2019, 20:05   #12
sparhawk
Registered User
 
sparhawk's Avatar
 
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
Is this fixed in git only or for download somewhere?
sparhawk is offline  
Old 16 December 2019, 20:16   #13
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
http://www.winuae.net/files/b/winuae.7z

...but if you can wait then Toni will surely release one last beta or final v4.3.0 version very soon
DamienD is offline  
Old 16 December 2019, 20:34   #14
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
Quote:
Originally Posted by ross View Post
Can you also do something about the debugger GUI? (yes, I know, not supported.. ).
Debugger window is now forced to old "SYSTEM_AWARE" mode which seems to fix the problem.
Toni Wilen is online now  
Old 16 December 2019, 21:05   #15
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,488
Quote:
Originally Posted by Toni Wilen View Post
Debugger window is now forced to old "SYSTEM_AWARE" mode which seems to fix the problem.
(BETA9 16/12 20:32 compile).
I'm here if you want me to try other alpha versions.
ross is offline  
Old 16 December 2019, 21:22   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
Quote:
Originally Posted by ross View Post
(BETA9 16/12 20:32 compile).
I'm here if you want me to try other alpha versions.
What is this supposed to mean?
Toni Wilen is online now  
Old 16 December 2019, 21:26   #17
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,488
Quote:
Originally Posted by Toni Wilen View Post
What is this supposed to mean?
That the latest version of winuae.7z has the same problems as the previous in debugger GUI (in my laptop).
ross is offline  
Old 16 December 2019, 21:49   #18
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
I think I have previously said something about "It does not work" replies..
I switched it to "UNAWARE" and it still looks correct, like in previous update, even at 200%.
Toni Wilen is online now  
Old 16 December 2019, 21:49   #19
sparhawk
Registered User
 
sparhawk's Avatar
 
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
The black border is now gone, but the last lines are still missing. If you open a shell window and move it down, you can see this (as shown in my previous screenshot).
sparhawk is offline  
Old 16 December 2019, 21:51   #20
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
You need to include new screenshot.
Toni Wilen is online now  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Winuae 2.7.0 squashed window pjhutch support.WinUAE 4 14 December 2013 16:07
Default WinUAE configuration window quahappy support.WinUAE 2 14 June 2011 14:57
Running WinUAE in a window theolog New to Emulation or Amiga scene 11 01 September 2004 07:15
WinUAE 0.8.26 config-window too small Ralph Wiggum support.WinUAE 4 16 May 2004 19:58
Minimising the WinUAE window. gary request.UAE Wishlist 0 03 May 2004 10:49

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 17:37.

Top

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