workspaces icon indicating copy to clipboard operation
workspaces copied to clipboard

Apps open in duplicate

Open jsf15 opened this issue 4 years ago • 9 comments

Great app, I'm loving it! Thank you very much.

However, all the apps are opening in duplicate, Ubuntu 20.04.1 LTS.

jsf15 avatar Oct 14 '20 09:10 jsf15

do they open 2 times when you click the test button (when editing) or when you laucnh them through the launcher?

DevAlien avatar Oct 14 '20 13:10 DevAlien

The test is fine. The problem is in the launcher.

jsf15 avatar Oct 14 '20 15:10 jsf15

Sorry I missed the reply. do you launch with mouse click or with the return key?

DevAlien avatar Oct 18 '20 08:10 DevAlien

In both cases

jsf15 avatar Oct 22 '20 10:10 jsf15

Hi, I'm having the same problem, my apps also launch twice, however for me it only happens when I open the workspace with Enter, when I click on it they open just once

michaljenicek avatar Nov 25 '20 14:11 michaljenicek

I can confirm it only happens when using Enter to open the workspace. When clicking, it does not happen. However, I noticed that if I press Ctrl and then press Enter (to keep the window open), it does not happen either.

Maybe it's related to this part of the code? Perhaps GTK already interprets the Enter key as a click, and by explicitly firing the activation event again, it's opening things twice.

matfantinel avatar Nov 25 '20 15:11 matfantinel

That's strange, it should not count as a click, I have to do some testing. sorry for the delays, I'm a bit busy right now

DevAlien avatar Nov 27 '20 17:11 DevAlien

I have the exact same behavior as @matfantinel describes: everything opens twice when using Enter, but it works fine when clicking or using CTRL+Enter. I'm running Xubuntu 21.04 and installed from Flathub.

david-lindner avatar Apr 26 '21 08:04 david-lindner

Productivity boost idea. Thank you I'm loving this app. Hope you will resolve this twice opening issue. It only happens with ENTER button as @michaljenicek mentioned above.

SrimalPriyanga avatar Jun 04 '21 05:06 SrimalPriyanga