Jump to content

Tester needed ^^


UEZ
 Share

Recommended Posts

24 minutes ago, Shark007 said:

The GUI would not present itself. The Application would run and show an icon on the taskbar but I could not get the GUI to show. When I hovered the taskbar icon, I could see the preview of a thin sliver of the gui vertical in the center on the taskbar gui thumbnail. By the way, I only create 64Bit DpiAware Gui's and had no issue's using the old code except for what was previously discussed. I do use the manifest to set up Dpi Aware'ness.

64bit GUI's are a must if you distribute your software publicly and want to avoid false positives.

Ok thanks but without source code I cannot troubleshoot.

Using x86 works?

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

2 minutes ago, Shark007 said:

It has been more than 1 year already that I have stopped creating 32Bit GUI's completely mostly because of the false positives.

That's was not my question. 😉 If you compile it as x86 just for testing purposes, does it work? Maybe you have to turn off your AV.

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

4 minutes ago, UEZ said:

That's was not my question. 😉 If you compile it as x86 just for testing purposes, does it work? Maybe you have to turn off your AV.

I will try an x86 compile.

I stopped using AV of any kind, not even Windows Defender more than 10 years ago. Once you familiarize your self with the possible source's of viruses, it becaomes simple to avoid.

Link to comment
Share on other sites

24 minutes ago, UEZ said:

That's was not my question. 😉 If you compile it as x86 just for testing purposes, does it work? Maybe you have to turn off your AV.

OK. I compiled my script as x86 using your latest iteration of your UDF and I get the exact result as x64, a thin sliver of a thumbnail presented on the taskbar and no GUI presented.

Edited by Shark007
Link to comment
Share on other sites

The interesting part is why your GUI is not shown. Anyhow, I cannot fix it when I cannot reproduce the bug.

 

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

I will see what I can do to tear my gui down to something shareable and still presents the issue. If I pull this off, I do not expect any of the GUI controls to be functional at all because this will be solely for GUI presentation. Currently it is using 10 private UDF's.

Edited by Shark007
Link to comment
Share on other sites

@UEZ In stripping my GUI down to something you can test with I did notice that the problem occurs only when the manifest sets the DPI Aware'ness

I've included my AutoIt3Wrapper.au3 because it autosets the awareness I prefer.

Check you private messaging for a download url

Link to comment
Share on other sites

Looks good. Dragging the GUI across the monitors should also fit.

 

What is left is to adjust the size of the Avi clip accordingly.

 

Today I updated the GUI example.

 

 

@Shark007 Thanks for the screenshots.

 

Creating DPI aware GUI is not an easy task...

 

@All; What about OS < Win11? How does it look on Win7, Win8 and Win10 on multi-monitor environment? Can somebody test and share any screenshot?

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Windows Shortcut win10

    If you want to move a window to a display located to the left of your current display, press Windows + Shift + Left Arrow.
    If you want to move a window to a display located to the right of your current display, press Windows + Shift + Right Arrow.

 

I know that I know nothing

Link to comment
Share on other sites

Interesting project.

Just for fun, this is my result for the code in Post #1 with Win 7 32 Bit, along with the needed #include <WinAPIGdi.au3>

Added 222 items to the list
Screen Dimensions: 1920 x 1080
Listview Dimensions: 50840 x 19
Calculated GUI size: 960 x 540
OS: WIN_7
 

Here's a screenshot to give you a laugh.

TBarDesktop.png.aac319d026e01e9527ce9029a8f99823.png

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to comment
Share on other sites

@TheSaint thanks for it but I'm more interested in the Sample GUI from here:

 

 

Any change to test it and provide a screenshot same as Shark007? The interesting part is when the DPI is > 100%.

 

 

222 desktop icons!?!?!  The Toolbar Desktop tool can be found currently only on German site. I'm currently struggling with the file icon on DPI change to resize it properly...

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

I have  Windows 10 Pro Version:22H2
 
I have two screens
DISPLAY1 Dim:1920, 1080  Scale:100%  is primary
DISPLAY2 Dim:3840, 2160  Scale:200%
 
Spoiler
 
Advanced  scaling settings  (if it plays any role)
 
230812-091426-261_ApplicationFrameHost_dXmO0.png

 

 

_WinAPI_DPI.au3 test1

 ;-----------------------------------------------------------------------------------------------------------------------
when i run it it comes to the primary screen 
DISPLAY1  Rectangle:0, 0, 1920, 1080  Scale:100%
 
2_AutoIt3_xLW8L.png

 

 
 
 
 ;-----------------------------------------------------------------------------------------------------------------------
when I drag it to the right on monitor 2
DISPLAY2 Rectangle:1920, 0, 5760, 2160  Scale:200%
console say - DPI change triggered! DPI: 192 
 
3_AutoIt3_QWNEw.png

 

 

 
;-----------------------------------------------------------------------------------------------------------------------
when I drag it to back  to primary screen 
DISPLAY1  Rectangle:0, 0, 1920, 1080  Scale:100%
console say - DPI change triggered! DPI: 96
 
4_AutoIt3_XudHh.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 ;-----------------------------------------------------------------------------------------------------------------------
when I press (win+shift+right) GUI move it  to the monitor 2
DISPLAY2 Rectangle:1920, 0, 5760, 2160  Scale:200%
console say - DPI change triggered! DPI: 192
 
5_AutoIt3_b7k9B.png
 
 ;-----------------------------------------------------------------------------------------------------------------------
when I press  (win+shift+right) GUI move it  to the primary monitor
DISPLAY1  Rectangle:0, 0, 1920, 1080  Scale:100%
console say - DPI change triggered! DPI: 96
 
1_AutoIt3_hV4Xa.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 ;-----------------------------------------------------------------------------------------------------------------------

then i did the same without the _WinAPI_DPI.au3

just with the default 
C:\Program Files (x86)\AutoIt3\Examples\GUI\SampleControls.au3
DISPLAY1  Rectangle:0, 0, 1920, 1080  Scale:100%

7_AutoIt3_56mue.png
 
 ;-----------------------------------------------------------------------------------------------------------------------
when I drag it to the right on monitor 2
DISPLAY2 Rectangle: 1920, 0, 3840, 1080  Scale:200%
from Rectangle:1920, 0, 5760, 2160 which was previously
 
8_AutoIt3_HVoPC.png
 
 ;-----------------------------------------------------------------------------------------------------------------------
when I drag it to back  to primary screen 
DISPLAY1  Rectangle:0, 0, 1920, 1080  Scale:100% 
 
9_AutoIt3_K1wqO.png

 
 
 ;-----------------------------------------------------------------------------------------------------------------------
when I press  (win+shift+right) GUI move it  to the monitor 2
DISPLAY2 Rectangle: 1920, 0, 3840, 1080  Scale:200%
 
10_AutoIt3_An7am.png
 
 ;-----------------------------------------------------------------------------------------------------------------------
when I press  (win+shift+right) GUI move it  to the primary monitor
DISPLAY1  Rectangle:0, 0, 1920, 1080  Scale:100% 
 
11_AutoIt3_o5fdB.png

 

 
 
 
 
 
 
 

 

Edited by ioa747

I know that I know nothing

Link to comment
Share on other sites

8 hours ago, ioa747 said:

press Windows + Shift + Right Arrow.

I've got your same setup only with the 4k as primary.
I was watching something with VLC when I was reading your post. I tested it right there an then. Funny enough, dragging VLC with the mouse and using the shortcut behaved very differently.

It takes a bunch of us doing stuff to come up with good code.

Today I used SplashTextOn() and realized that I need to add it to the UDF but did not realize it until ..., until I did.

The point is: thanks for testing. I'd have never looked into it otherwise :)

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

@ioa747 thanks for providing the screenshots. What I can see is that the tab control is not properly positioned when moved from 2nd monitor whereas win+shift+right looks properly.

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...