element icon indicating copy to clipboard operation
element copied to clipboard

Startup image does not close when using old version in Wayland(Sway)

Open tkna91 opened this issue 3 years ago • 3 comments

Describe the bug Startup image does not close when using old version in Wayland(Sway)

To Reproduce

  1. run the desktop file on Arch Linux with the following command, etc
dex /usr/share/applications/net.kushview.element.desktop
  1. The "El" window will appear
  2. The "New Version" window will appear
  3. Select "Cancel"
  4. Right-click on the "El" window and select "Show/Hide"
  5. it does not start
  6. the corresponding process is not displayed after executing ps -ef | grep -i element

Expected behavior The application window appears even in older versions

Screenshots

https://user-images.githubusercontent.com/102382754/174496707-b385685a-f578-4a87-8400-7716fc4e1118.mp4

Desktop (please complete the following information):

  • OS: Arch Linux
  • Version: 5.18.3-arch1-1
  • Window Manager: sway 1:1.7-9

Standalone or Plugin Standalone

Additional context It is probably related to #240. The current latest version version is 0.46.6, but this seems to happen when the package version in Arch Linux is older (0.46.5). Is there something not working properly in the linkage between the latest version check and the startup? Sorry if I am looking in the wrong place.

tkna91 avatar Jun 19 '22 19:06 tkna91

Turns out there was a problem with the Arch package script. Should have resolved that last night. It seems like it's crashing for some reason. Not sure the cause yet though.

mfisher31 avatar Jun 30 '22 18:06 mfisher31

Reference link:. Packaged version

  • https://github.com/archlinux/svntogit-community/blob/packages/element/trunk/PKGBUILD
  • https://archlinux.org/packages/community/x86_64/element/

git version

  • https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=element-git
  • https://aur.archlinux.org/packages/element-git

It is the packaged version that is causing this problem. I think the basic process is just downloading the source and deploying the build with a shell script (PKGBUILD)

tkna91 avatar Jun 30 '22 18:06 tkna91

I did the following and the problem no longer occurs

  1. move ~/.config/Element/*
  2. Start Element
  3. Press Ctrl+,to display options
  4. set the following settings to "No"
  • Check for updates on startup
  • Show system tray image

tkna91 avatar Jun 30 '22 19:06 tkna91