danielchalmers / DesktopClock

A digital clock for your desktop!
https://github.com/danielchalmers
MIT License
137 stars 33 forks source link

Clock is missing the last minute #31

Closed MaluNoPeleke closed 4 months ago

MaluNoPeleke commented 11 months ago

I have tried DesktopClock 3.0.0 and 3.1.0 beta 2 but both versions show the same issue: If I select the format "t" (09:00) it doesn't show the last minute: image If I select the format "T" everything is displayed completly/correctly: image How can I fix this? This is the content of the settings file:

{
  "Format": "t",
  "CountdownFormat": "",
  "CountdownTo": "0001-01-01T00:00:00+00:00",
  "TimeZone": "",
  "FontFamily": "Consolas",
  "TextColor": "#FF212121",
  "OuterColor": "#FFF5F5F5",
  "BackgroundEnabled": false,
  "BackgroundOpacity": 0.9,
  "OutlineThickness": 0.2,
  "CornerRadius": 1.0,
  "Topmost": true,
  "ShowInTaskbar": false,
  "Height": 40,
  "RunOnStartup": true,
  "DragToMove": true,
  "RightAligned": false,
  "Placement": {
    "Length": 44,
    "Flags": 0,
    "ShowCommand": 1,
    "MinimizedPosition": {
      "X": -1,
      "Y": -1
    },
    "MaximizedPosition": {
      "X": -1,
      "Y": -1
    },
    "NormalBounds": {
      "Left": 1687,
      "Top": 5,
      "Right": 1800,
      "Bottom": 55
    }
  }
}
danielchalmers commented 11 months ago

I remember that being a problem in early versions of Windows 11. What version of Windows are you running in winver?

MaluNoPeleke commented 11 months ago

22H2: image

danielchalmers commented 11 months ago

Thanks. I'm not able to reproduce it myself but I'll keep an eye on the issue.

MaluNoPeleke commented 11 months ago

I had the issue again with another system:

Edition Windows 11 Enterprise Version 22H2 Betriebssystembuild 22621.2861 Leistung Windows Feature Experience Pack 1000.22681.1000.0

It happened when I switched external monitors (DesktopClock is placed on an external monitor in my case). I guess if the monitor/pixel position is not available on start the clock is moved to another monitor/display (with another size/resolution in my case) and then cut off.

mbx96 commented 9 months ago

No second figure when background disabled. Off:

Screenshot 2024-02-14 090128

switch

Screenshot 2024-02-14 090206

On:

Screenshot 2024-02-14 090151

My System

Screenshot 2024-02-14 090247

Thx for your work! MBX

MaluNoPeleke commented 8 months ago

I just had the same issue happening again after a restart (before the restart it worked with two figures) but toggling on/off the background makes no difference. image

mbx96 commented 4 months ago

As workaround you can use Advanced settings:

  "BackgroundEnabled": true,
  "BackgroundOpacity": 0.01,

image