It is currently November 28th, 2022, 4:01 pm

Snip and Pin to Screen

Skins with graphics and animations
nek
Posts: 77
Joined: November 3rd, 2019, 12:00 am

Re: Snip and Pin to Screen

Post by nek »

Thanks for your reply.
tass_co wrote: October 24th, 2022, 4:46 pm Crashes continue in steps 1. and 2.
Also changing the hotkey combination did not change the result either.
1. Snip and Pin to Screen.noHotKeys\Skin.Mini.ini
As you can see this skin is really simple, there is no HotKey plugin, no Hotkeys conflict, only TrayIcon plugin.
I would assume that pressing SHIFT CTRL ALT G cause Rainmeter.exe to crash even if the Skin.Mini.ini is unloaded.

Code: Select all

[Variables]
@IncludeConfig=#ROOTCONFIGPATH#Config.inc

;; ICON_TYPE={camera|crosshair|photo|pin|scissors|screenshot|viewfinder}
ICON_TYPE=screenshot
COLOR_DESKTOP_ICON=FFFFFF

[pRunCommand_ScaleFactor_Rainmeter_Applied]
Measure=String
Disabled=1

[aStartCapture]
Measure=String
Group=gAction
OnUpdateAction=[!DeactivateConfigGroup "#SKIN_CAPTURE#"][!ActivateConfig "#SKIN_CAPTURE#" "Select.ini"]
Disabled=1

;; TrayIcon by deathcrafter | https://github.com/deathcrafter/PluginTrayIcon
[pTrayIcon]
Measure=Plugin
Plugin=TrayIcon
IconName=#@#Images\snipinw_#ICON_TYPE#.ico
ToolTipText=Snip and Pin to Screen
LeftMouseUpAction=[!UpdateMeasure aStartCapture]
RightMouseUpAction=[!SkinMenu]

[Dummy]
Meter=String
Hidden=1

[Rainmeter]
Update=-1
;DefaultUpdateDivider=-1
AccurateText=1
DefaultSnapEdges=0
OnRefreshAction=[!EnableMeasureGroup gAction]
I would suggest
1. Manage Rainmeter > Layouts tab
2. ✅ Exclude unloaded skins, Name: something > [Save]
3. ✅ Save as empty layout, Name: empty >[Save]
4. Load empty layout
5. Manage Rainmeter > Settings tab > ✅ Debug mode, ✅ Log to file
6. Load skin 1 by 1 and press Ctrl Shift Alt G.
7. If not crash, press Ctrl Shift Alt G again.

Note: The following code [!ToggleConfig ...] occurs 2 situations(Player.ini is loaded/unloaded).
So I suggested pressing Ctrl Shift Alt G twice.
tass_co wrote: October 24th, 2022, 6:31 am

Code: Select all

KeyUpAction=#RC#[!Zpos "2"][!Move ([MeaMX]-115) ([MeaMY]-100)]#RC#[!ToggleMeterGroup BtnP]#RC#[!ToggleConfig "PopupDock v5\Player" "Player.ini"][!Move ([MeaMX]-89) ([MeaMY]+105) "PopupDock v5\Player"]#RC#[!SetVariable Again "2"][!SetVariable Again1 "1"][!Update *][!Redraw]
Ctrl Shift Alt G ... Crash

How about
Ctrl
Ctrl Shift
Ctrl Shift Alt
Ctrl Shift Alt F
Ctrl Shift G
Ctrl alt G
Shift alt G
...

tass_co wrote: October 24th, 2022, 4:46 pm Windows 10 Pro 21H2 (build 19044.2130) 64-bit
Your OS is WIndows 10 Pro 21H2, it is not related with Windows 11 22H2 crashing issues.
User avatar
tass_co
Posts: 423
Joined: May 4th, 2020, 3:01 pm
Location: Ankara, TURKEY

Re: Snip and Pin to Screen

Post by tass_co »

nek wrote: October 24th, 2022, 6:49 pm As you can see this skin is really simple, there is no HotKey plugin, no Hotkeys conflict, only TrayIcon plugin.
I think it was 1 year ago, I had a problem with the TrayIcon plugin.
I realized that I haven't used this plugin since then.
My problem was still the same. Rainmeter crash.
Most likely this could be the cause of the problem.
I want to go over that first.
I will report the positive/negative result.
In conclusion, the problem is with me. It is not related to your skin :thumbup:
I don't know where i going from here, but i promise it won't be boring... :great:
nek
Posts: 77
Joined: November 3rd, 2019, 12:00 am

Re: Snip and Pin to Screen

Post by nek »

Thank you for reporting.

One more thing, Could you replace the TrayIcon.dll and test again?

Old: TrayIcon.dll (64 bit), file version 1.1.0.0, size 155 KB (from GitHub.com, Snip and Pin to Screen included)
New: TrayIcon.dll (64 bit), file version 1.1.0.0, size 1.22 MB (forum.rainmeter.net)

1. Dowload the TrayIcon Example_1.1.0.1.rmskin from https://forum.rainmeter.net/viewtopic.php?t=39924&start=20#p204543
2. Rename to TrayIcon Example_1.1.0.1.rmskin.zip
3. Open Rainmeter\Plugins with folder with File Explorer
The default plugins folder is %UserProfile%\AppData\Roaming\Rainmeter\Plugins
4. Extract the zip and replace TrayIcon.dll with Plugins\64bit\TrayIcon.dll (1.22 MB).
5. Restart the Rainmeter.exe
6. Test again

If your issue will be fixed, I will replace the TrayIcon.dll with 1.22MB version on next update.
User avatar
tass_co
Posts: 423
Joined: May 4th, 2020, 3:01 pm
Location: Ankara, TURKEY

Re: Snip and Pin to Screen

Post by tass_co »

nek wrote: October 25th, 2022, 1:17 am Thank you for reporting.

One more thing, Could you replace the TrayIcon.dll and test again?

Old: TrayIcon.dll (64 bit), file version 1.1.0.0, size 155 KB (from GitHub.com, Snip and Pin to Screen included)
New: TrayIcon.dll (64 bit), file version 1.1.0.0, size 1.22 MB (forum.rainmeter.net)

1. Dowload the TrayIcon Example_1.1.0.1.rmskin from https://forum.rainmeter.net/viewtopic.php?t=39924&start=20#p204543
2. Rename to TrayIcon Example_1.1.0.1.rmskin.zip
3. Open Rainmeter\Plugins with folder with File Explorer
The default plugins folder is %UserProfile%\AppData\Roaming\Rainmeter\Plugins
4. Extract the zip and replace TrayIcon.dll with Plugins\64bit\TrayIcon.dll (1.22 MB).
5. Restart the Rainmeter.exe
6. Test again

If your issue will be fixed, I will replace the TrayIcon.dll with 1.22MB version on next update.
I am sorry for writing late.
Despite all attempts, my problem persists.
Finally, I'm thinking of removing the TrayIcon part from your skin and using it via a button.
Thank you for your suggested solutions :great:
I don't know where i going from here, but i promise it won't be boring... :great:
nek
Posts: 77
Joined: November 3rd, 2019, 12:00 am

Re: Snip and Pin to Screen

Post by nek »

tass_co wrote: October 25th, 2022, 9:48 pm Despite all attempts, my problem persists.
Thank you! for your cooperation.

Currently
TrayIcon (default)
TrayIcon + Desktop Icon (Right-click > Settings > Desktop icon > ✔️ Put icon on the desktop)

Now I need to create a Desktop Icon (no TrayIcon plugin) version of Snip and Pin to Screen skin.
nek
Posts: 77
Joined: November 3rd, 2019, 12:00 am

Re: Snip and Pin to Screen

Post by nek »

Updated. 📦 SnipAndPinToScreen.rmskin (GitHub.com)


Viewer
Right-click on the Viewer > Settings > Border > Border width: 4 pixels
Right-click on the Viewer > Settings > Border color...
viewer.border.option.png
Right-click on the Viewer > Color filters >
viewer.color.filters.png
viewer.color.filters2.png
2022-11-18 (YYYY-MM-DD)
Icon: Added Snip and Pin to Screen\Skin.noTrayIcon.ini.
Icon: Updated TrayIcon.dll plugin (from 155 KB to 1.22 MB, same version number, new file)
Icon: Updated Apps and Open folder menu default items.
Icon: Fixed Changing tray icon functionality was not working.
Viewer: Added Rounded corners option for images.
Viewer: Added Border options.
Viewer: Added Color filter options.
Viewer: Fixed Settings > Show button was not working.
Update Note: Rainmeter Skin Installer window, check ✅ TrayIcon.dll and [Install] (same version number 1.1.0.0, new file)
You do not have the required permissions to view the files attached to this post.