iprodanovbg / homeassistant-desktop

🎛 Desktop application (Windows / macOS / Linux) for Home Assistant built with Electron
Apache License 2.0
394 stars 39 forks source link

Left clicking opens context menu #17

Open clinta opened 1 year ago

clinta commented 1 year ago

Running the AppImage on Manjaro Linux with XFCE, left clicking on the taskbar icon brings up the context menu instead of the window. The keyboard shortcut ctrl+alt+x works to bring up the window though.

oddvalue commented 1 year ago

Also having this issue on PopOs.

iprodanovbg commented 1 year ago

Hello,

This is limitation comes from ElectronJS for linux and even app like skype and discord opens the menu instead of the app windows.

palves commented 1 year ago

I'm on linux, and I don't see this -- for me, left click opens the window, right click opens menu. I use another Electron app -- whatsdesk -- that used to behave the wrong way too a few months back, but it no longer does. I don't know what changed. It may be that it fixed itself with an electron/chromium/chrome update.

Edit: this is on a Fedora 32 machine, on KDE.

rummik commented 1 year ago

Seeing it with Electron 21, but it seems to be resolved with newer Electron versions

antmarra commented 9 months ago

Hi everybody, I've installed the AppImage today on KDE Neon 22.04 (plasma-desktop 5.27.8) and I have this issue. There are news about resolving it? Thanks.

osos commented 3 months ago

Seeing it to on Linux Mint. ElectronJS is already at version 29 with version 30 incoming. Maybe worth a try to update.

osos commented 3 months ago

Works.

Cloned the project and did:

npm install electron@latest
npm install electron-builder@latest
npm run build-local-linux
JAKAMI99 commented 3 months ago

Thanks, @osos, with your help I was able to fix it for me on Kubuntu 22.04.

I ran the following commands after installing the latest nodejs and npm:

git clone https://github.com/iprodanovbg/homeassistant-desktop.git
cd homeassistant-desktop
npm install electron@latest
npm install electron-builder@latest
npm run build-local-linux
cd dist

The AppImage in this folder works, I used the AppImageLauncher to integrate the Image into the system (Highly recommend this project): https://github.com/TheAssassin/AppImageLauncher

Now leftclick opens homeassistant and rightclick the contextmenu