sleek: Uncaught Exception TypeError when opening from the tray and minimizing

Describe the bug When I open it from the tray, I get the error Cannot read properties of undefined (reading 'show'), and the window contents won’t load until I click OK. After clicking OK, the window content can be displayed normally.

When I use the close button to minimize the window, I get the error Cannot read properties of undefined (reading 'hide'). Minimizing the window with the minimize button will not report an error.

To Reproduce Steps to reproduce the behavior: 1, Launch sleek. 2. Press close button. 3. Open from tray.

Do you see any error entries in sleeks developer tools? Yes: image

Expected behavior When opening sleek from the tray or minimizing the sleek window, there is no pop-up error

Screenshots Opening from tray: image

Minimizing via close button: image

Desktop (please complete the following information):

  • OS: Manjaro Linux Xfce
  • Version of sleek 1.2.1-1
  • Source: Arch User Repository

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 3
  • Comments: 24 (5 by maintainers)

Most upvoted comments

Oh that’s all it is. Super simple. It has been updated.

@alexgarel @warmwaffles @emilBeBri @5TDg9 @buscon @p-beattie @ChongChengAC @speedery @MostHated unfortunately I don’t have access to a Windows or Linux system in order to reproduce this issue. Though I found a bug, that might cause this behavior. Can you guys please take a quick look at this pre-release and give me a feedback if the issue still occurs on Windows and Linux systems? https://github.com/ransome1/sleek/releases/tag/v1.2.4-rc.2

it is ok on Win10

@ransome1 indeed I tested and it seems ok for me. (on linux ubuntu 22.04.1 - gnome 42.4)