zyn-fusion-issues icon indicating copy to clipboard operation
zyn-fusion-issues copied to clipboard

GUI is not redrawn after s2ram

Open JohannesLorenz opened this issue 3 years ago • 3 comments

When I wake up my PC from suspend 2 ram, the GUI is not redrawn, and thus it's mostly white with some weird drawings. You have to click around a a bit to hit the right widgets. I.e. clicking the envelope UI lets it show up the envelope, and clicking on part redraws the whole UI.

JohannesLorenz avatar May 22 '22 10:05 JohannesLorenz

Right now the GUI assumes that the framebuffers used to draw the individual layers remain valid unless there has been movement in those rectangular regions. Off the top of my head I don't know how the application should identify that those buffers have been damaged by a sleep and wake combination.

fundamental avatar May 25 '22 23:05 fundamental

The GUI behind zyn-fusion is OpenGL, right? So this problem would exist with every OpenGL app?

JohannesLorenz avatar Jun 04 '22 20:06 JohannesLorenz

Yep. I know other applications have historically had the exact same issue. I.e. gl buffer content is destroyed on sleep. I do not know if other impacted applications have found a workaround

On Sat, Jun 4, 2022, 4:03 PM Johannes Lorenz @.***> wrote:

The GUI behind zyn-fusion is OpenGL, right? So this problem would exist with every OpenGL app?

— Reply to this email directly, view it on GitHub https://github.com/zynaddsubfx/zyn-fusion-issues/issues/361#issuecomment-1146677643, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF3FHLC2TWFA6N7ZLVKTODVNOZBRANCNFSM5WTGQZ4A . You are receiving this because you commented.Message ID: @.***>

fundamental avatar Jun 04 '22 20:06 fundamental