CEA - Custom Event Actions
-
admin
- Site Admin
- Posts: 64880
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CAE_LocationChange, pleeeeease...
Next beta has some numbers in the title bar of config. Please show me.
FAQ | XY News RSS | XY X
Re: CAE_LocationChange, pleeeeease...
I have a very important accidental find in this!!! If I look at a text file content in a hover box, it recovers the Configuration window! (And it remains okay until the next restart) Is it because XY rechecks the monitor before showing the hover box?
-
admin
- Site Admin
- Posts: 64880
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CAE_LocationChange, pleeeeease...
Interesting, that's a hot trace! One second too late for this beta release.LittleBiG wrote: ↑07 Dec 2020 18:25I have a very important accidental find in this!!! If I look at a text file content in a hover box, it recovers the Configuration window! (And it remains okay until the next restart) Is it because XY rechecks the monitor before showing the hover box?
FAQ | XY News RSS | XY X
Re: CAE_LocationChange, pleeeeease...
Here you are.
Also, I have an animated GIF about the weird recovery if you need it.
- Attachments
-
- 2020-12-07_18h38_42.png (1.15 KiB) Viewed 1754 times
-
klownboy
- Posts: 4397
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440
Re: CAE_LocationChange, pleeeeease...
To see the entire script file/path/name in a tooltip would certainly be a big plus. But, if you are going to do that why not have the blue or red dot alone and hover to see the entry. It would certainly have a cleaner look and you wouldn't have as many issues of stuff being off screen. Either way you still have to click to edit an entry.
-
admin
- Site Admin
- Posts: 64880
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CAE_LocationChange, pleeeeease...
Yes, that was my idea, too.klownboy wrote: ↑07 Dec 2020 18:44To see the entire script file/path/name in a tooltip would certainly be a big plus. But, if you are going to do that why not have the blue or red dot alone and hover to see the entry. It would certainly have a cleaner look and you wouldn't have as many issues of stuff being off screen. Either way you still have to click to edit an entry.
FAQ | XY News RSS | XY X
Re: CAE_LocationChange, pleeeeease...
Obviously, I am all for the script column showing the first few chars of the code. After all I am the one who brought up the idea.klownboy wrote: ↑07 Dec 2020 18:44To see the entire script file/path/name in a tooltip would certainly be a big plus. But, if you are going to do that why not have the blue or red dot alone and hover to see the entry. It would certainly have a cleaner look and you wouldn't have as many issues of stuff being off screen. Either way you still have to click to edit an entry.
The idea is, as Don already hinted at, to put an identifying comment in the first line, which then shows in the script column, in order to have a visual quick confirmation that the right script really is assigned to the right event. Maybe its just me, but I think that all with a bad short term memory like me would benefit greatly from it. It is not about checking the code itself, much less about editing it. It's only about quickly checking the assignments. If you think that you check the assignments only once and then never ever want to look at it again, be my guest. I do definitely not think that it is done once and then never again. It would also help a great deal with debugging, in case that comes up sometimes.
Regarding the tooltip... I never understood what is so great about tooltips, but again that is just me. I find them bothersome.. either they pop up too slowly or they are constantly in the way of something else and, besides, one has to move the hand in order to see it, not just the eyes. Besides, what good does seeing the code in the tooltip? I can't figure it out.
But anyway, Don, of course you must do what is best in your eyes.
[AHK] redirecting Windows Explorer to XY, [XYS] Mini Tree with open tabs (cur loc expanded, tab folders highlighted), [AHK] customInlineRenameKeys, [AHK] clipboardHelper_and_XYEscToList
-
admin
- Site Admin
- Posts: 64880
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CAE_LocationChange, pleeeeease...
There's time. There won't be big changes before phase 2.
FAQ | XY News RSS | XY X
Re: CAE_LocationChange, pleeeeease...
So, immediately after the start I have this:
1920 x 1080, 1036/52, Height=774
After appearing any hover box, and reopen the configuration window I get new values:
1920 x 1080, 1030/0, Height=811
In the second case, tabs in Configuration are ok, no vertical scrollbars appear.
-
admin
- Site Admin
- Posts: 64880
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CAE_LocationChange, pleeeeease...
That's without moving XY to the other monitor?LittleBiG wrote: ↑07 Dec 2020 20:22So, immediately after the start I have this:
1920 x 1080, 1036/52, Height=774
After appearing any hover box, and reopen the configuration window I get new values:
1920 x 1080, 1030/0, Height=811
In the second case, tabs in Configuration are ok, no vertical scrollbars appear.
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 64880
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CAE_LocationChange, pleeeeease...
Checked the code. Showing the hover box does NOT explicitly update any screen metrics related values. I don't understand what's going on.
FAQ | XY News RSS | XY X
Re: CAE_LocationChange, pleeeeease...
Yes, I do everything on the primary monitor. As a test, I moved XY to the second monitor and the unnecessary vertical scrollbar is back, showing hover box won't help. But moving XY back to the first monitor, Configuration window is ok again. Incredibly strange.
I am showing you how the magical thing happens:
- Attachments
-
- Config_vertical_bar.gif (1.15 MiB) Viewed 1716 times
Re: CAE_LocationChange, pleeeeease...
XYplorer gets something from the second monitor on start, however, it runs on the primary one exclusively. Here is the proof. I changed the resolution of the second monitor to be in sync with the ratio of the primary one, to 1280 x 720.
screen; became this:
Screen
XYplorer 21.30.0014 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198
Virtual Screen: (0, 0) - (3200, 1080)
Screen.Width (screenW) = 1920 (1920)
Screen.Height (screenH) = 1080 (1080)
Current Monitor: 1 (Primary)
Current Work Area: (0, 0) - (1920, 1030)
Number of Monitors: 2
Monitor 1 Area: (0, 0) - (1920, 1080) = 1920x1080
Monitor 1 Area Work: (0, 0) - (1920, 1030)
Monitor 2 Area: (1920, 147) - (3200, 867) = 1280x720
Monitor 2 Area Work: (1920, 147) - (3200, 827)
Startup Work Area: (0, 0) - (1920, 1030)
GetCursorPos = 1401, 66
XY Main Window: (-9, -9) - (1929, 1039) = 1938x1048
Screen DPI: 120 (125%) twX: 12 (12) Stretch: 1 sLF: 1,25 Toolbar Zoom: 1 (1;1)
Screen Color Depth: 32
DPI awareness: Per monitor
Auto Scaling: Yes, Yes
UseDPIAwareIconSizes: Yes, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=20, Large=40
Icon Size Recommended: Small=20, Large=40
And the configuration window appeared like this:
screen; became this:
Screen
XYplorer 21.30.0014 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198
Virtual Screen: (0, 0) - (3200, 1080)
Screen.Width (screenW) = 1920 (1920)
Screen.Height (screenH) = 1080 (1080)
Current Monitor: 1 (Primary)
Current Work Area: (0, 0) - (1920, 1030)
Number of Monitors: 2
Monitor 1 Area: (0, 0) - (1920, 1080) = 1920x1080
Monitor 1 Area Work: (0, 0) - (1920, 1030)
Monitor 2 Area: (1920, 147) - (3200, 867) = 1280x720
Monitor 2 Area Work: (1920, 147) - (3200, 827)
Startup Work Area: (0, 0) - (1920, 1030)
GetCursorPos = 1401, 66
XY Main Window: (-9, -9) - (1929, 1039) = 1938x1048
Screen DPI: 120 (125%) twX: 12 (12) Stretch: 1 sLF: 1,25 Toolbar Zoom: 1 (1;1)
Screen Color Depth: 32
DPI awareness: Per monitor
Auto Scaling: Yes, Yes
UseDPIAwareIconSizes: Yes, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=20, Large=40
Icon Size Recommended: Small=20, Large=40
And the configuration window appeared like this:
- Attachments
-
- 2020-12-07_21h25_45.png (117.58 KiB) Viewed 1711 times
-
klownboy
- Posts: 4397
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440
Re: CAE_LocationChange, pleeeeease...
Honestly, it's not that big a deal to me. I thought seeingautocart wrote: ↑07 Dec 2020 19:30 Obviously, I am all for the script column showing the first few chars of the code. After all I am the one who brought up the idea.
The idea is, as Don already hinted at, to put an identifying comment in the first line, which then shows in the script column, in order to have a visual quick confirmation that the right script really is assigned to the right event. Maybe its just me, but I think that all with a bad short term memory like me would benefit greatly from it. It is not about checking the code itself, much less about editing it. It's only about quickly checking the assignments. If you think that you check the assignments only once and then never ever want to look at it again, be my guest. I do definitely not think that it is done once and then never again. It would also help a great deal with debugging, in case that comes up sometimes.
"load D:\Tools\XYplorer\Scripts\CEA_MiddleClickMenu.xys" or even a part of it was a bit much and not that aesthetically pleasing. Yes, I did put a comment in front of one to see how that looked. I can live with that and I will, but it doesn't look that great either. /*Double-Click script*/ ... and of course that ends up in the ini file as well.To the contrary I may end up changing scripts more frequently than most users. I wrote a small script that's sole purpose is to be able to change the script assignment for these on the fly by assigning the script to a variable as you can see in my post here viewtopic.php?f=7&t=22172
I'll be happy with whatever Don comes up with and glad he's bringing both new and old CEAs to the Configuration GUI.
-
admin
- Site Admin
- Posts: 64880
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CAE_LocationChange, pleeeeease...
Ha!, I finally found the code that's called before showing the hover box, and it's only called in a multi-monitor situation!LittleBiG wrote: ↑07 Dec 2020 20:22So, immediately after the start I have this:
1920 x 1080, 1036/52, Height=774
After appearing any hover box, and reopen the configuration window I get new values:
1920 x 1080, 1030/0, Height=811
In the second case, tabs in Configuration are ok, no vertical scrollbars appear.
FAQ | XY News RSS | XY X
XYplorer Beta Club