kaelri / enigma

A featured "suite" for the Windows system monitoring application, Rainmeter.
https://www.kaelri.com/project/enigma/
275 stars 94 forks source link

Taskbar & Sidebar: do not resize on multiple monitors. #14

Closed illutian closed 10 years ago

illutian commented 12 years ago

I run a dual monitor setup, with dissimilar resolutions (1680x1050/1920x1080).

I currently have Enigma running on the second monitor (1920x1080). All of Enigma's components are set to display on that monitor, but sometimes the Taskbars (top and bottom) reset to the primary monitor's (1680x1050) width. If I open up the Taskbar's skin and pick the second monitor, which is still selected they resize.

Maybe allow us to hardcode the width if necessary? I looked through the ini/inc and...ya...I can't figure that stuff out.

EDIT:

Rainmeter 2.4.0 (r1634) Enigma: Version: 4 (Patch 1)

kaelri commented 12 years ago

The Taskbar and Sidebar skins are supposed to automatically resize when they're moved to a new monitor. I'd like to ask you a few questions in order to figure out why this isn't happening.

If you refresh the Taskbars (right-click, Refresh skin), do they reload with the correct dimensions?

Is there a specific event that causes them to reset? For example, changing the size of your Windows taskbar, or launching a full-screen application?

illutian commented 12 years ago

Yes, clicking 'refresh' for that specific module of Enigma does resize the taskbar. I just turned my system on and noticed the bars were not resized. So it may be a 'on startup' issue.

Rainmeter is set to start on startup.

One thing I did do was move the taskbar over to my main monitor and it fits the width perfectly (1680width). So it looks like even though the entire Enigma skin was set to the second monitor (Display Monitor), it's still polling the primary monitor and using those values to initialize.

ghost commented 11 years ago

I have the same issue, on rainmeter start, the sidebar(s) and taskbar(s) have the dimensions of the primary monitor. I fixed it by editing the sidebar.inc and taskbar.inc files. When refreshing, the sidebar did correct itself, but the taskbar did not in my case. @illutian, I can explain you how to set the correct values if you like. The change will make the dimensions static though, so they will not change anymore even if you switch the skins to another monitor.

leomayer commented 10 years ago

Is there a chance to get a fix for this? I suffer same issue. Refresh does not help. Plus additionally I wanna mention, that orientation changes brings the sidebar completely off display. The only, very simple way it works fine is a reload of the skin. Perhaps this could be done automatically?

smurfier commented 10 years ago

Sadly Rainmeter itself does not support multiple monitors very well. Also, I'd don't have multiple monitors to test with. I will see if there's anything I can do, just don't hold your breath.

smurfier commented 10 years ago

The issue is with Rainmeter not handling multiple monitors correctly. This cannot be fixed in Enigma.