irccloud / irccloud-desktop

IRCCloud Desktop App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

animated image embedding (Imgur) prevents screensaver/screen blanking on MacOS while irccloud-desktop is running

Viqsi opened this issue · comments

If ever a link to an Imgur animated image is posted in IRCCloud using the desktop interface, it prevents screen blanking. The following messages repeatedly appear in the MacOS console every time the video loops:

default	16:49:53.082451 -0400	powerd	Process IRCCloud.41799 Created NoDisplaySleepAssertion "Playing video" age:00:00:00  id:21474873632 [System: PrevIdle PrevDisp DeclUser IntPrevDisp kDisp]
default	16:50:16.420485 -0400	powerd	Process IRCCloud.41799 Released NoDisplaySleepAssertion "Playing video" age:00:00:23  id:21474873632 [System: PrevIdle DeclUser IntPrevDisp kDisp]
default	16:50:16.423171 -0400	powerd	Process IRCCloud.41799 Created NoDisplaySleepAssertion "Playing video" age:00:00:00  id:21474873637 [System: PrevIdle PrevDisp DeclUser IntPrevDisp kDisp]
default	16:50:39.724876 -0400	powerd	Process IRCCloud.41799 Released NoDisplaySleepAssertion "Playing video" age:00:00:23  id:21474873637 [System: PrevIdle DeclUser IntPrevDisp kDisp]
default	16:50:39.725703 -0400	powerd	Process IRCCloud.41799 Created NoDisplaySleepAssertion "Playing video" age:00:00:00  id:21474873640 [System: PrevIdle PrevDisp DeclUser IntPrevDisp kDisp]
default	16:51:03.050442 -0400	powerd	Process IRCCloud.41799 Released NoDisplaySleepAssertion "Playing video" age:00:00:23  id:21474873640 [System: PrevIdle DeclUser IntPrevDisp kDisp]

They repeat every time the image loops. This occurs whether the image is currently visible in the viewport or not. If one "closes" the Imgur "window" (by clicking on the X in the upper-left corner and thus getting rid of the embed), these messages stop, and the screensaver is able to come on.

I've confirmed this with Imgur; other services might also be affected (haven't had the opportunity to test them). It also appears to occur if one is using irccloud.com via one's web browser.