felixhageloh / uebersicht

ˈyːbɐˌzɪçt
GNU General Public License v3.0
4.58k stars 165 forks source link

Font rendering glitch #338

Open JulianBerger opened 5 years ago

JulianBerger commented 5 years ago

As of v1.3.56 I get random font rendering glitches as you can see on the screenshots. Used widget is: https://github.com/soberstadt/simple-clock-widget

The clock just changes to a solid line until the next update of the widget happens. Since I use a multi monitor setup I can see that this does not happen on all monitors, which is weird.

screenshot 2018-11-23 at 09 12 05 3 screenshot 2018-11-23 at 09 11 39

MikeDaniel18 commented 5 years ago

Can confirm I get this too.

felixhageloh commented 5 years ago

it looks more like there was an error and something goes wrong rendering the stack trace. Can you check the console for errors when this happens again?

JulianBerger commented 5 years ago

Here is the error:

[Error] simple-clock-widget-index-coffee:
Error: error running command
wrapError — client.js:20605
(anonymous function) — client.js:20611
callback — client.js:19630:126
crossDomainError — client.js:19633:121
onreadystatechange — client.js:19658
    redraw (client.js:1:734729)
    (anonymous function) (client.js:1:733256)
    callback (client.js:1:719471)
    crossDomainError (client.js:1:719801)
    onreadystatechange (client.js:1:720914)

The line where the error occurs:

return contentEl.style.fontFamily = "monospace", contentEl.style.fontSize = "12px", contentEl.style.whiteSpace = "pre", contentEl.style.background = "#fff", contentEl.style.padding = "20px", contentEl.innerHTML = error.message + "\n" + (error.lines || ""), console.error(implementation.id + ":", error), rendered = !1;
felixhageloh commented 5 years ago

seems to be the same as this issue then #340

JulianBerger commented 5 years ago

It does not happen anymore when I change the refresh interval from 30s to 10s...

felixhageloh commented 5 years ago

@JulianBerger can I ask what version of macOS you are on?