element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.21k stars 2k forks source link

a new attachment window appears out of focus #20857

Closed selukov closed 2 years ago

selukov commented 2 years ago

Steps to reproduce

The problem with the Element-desktop application v1.10.1, I add an attachment to the message, the first time the attachment window is active in focus, the next ones are not, the Element-desktop reboot helps

I can't rolled back the application to version 1.9.9,

└$► apt-cache policy element-desktop
element-desktop:
  Installed: 1.10.1
  Candidate: 1.10.1
  Version table:
 *** 1.10.1 500
        500 https://packages.riot.im/debian default/main amd64 Packages
        100 /var/lib/dpkg/status

The element-desktop version 1.9.9 works well

Outcome

System:    Kernel: 5.13.0-28-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.2.7 wm: muffin dm: LightDM 
           Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: ASUS product: N/A v: N/A serial: <filter> 
           Mobo: ASUSTeK model: ROG STRIX B550-F GAMING (WI-FI) v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 2423 
           date: 08/10/2021 
CPU:       Topology: 12-Core model: AMD Ryzen 9 3900XT bits: 64 type: MT MCP arch: Zen L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 182405 
           Speed: 2201 MHz min/max: 2200/3800 MHz Core speeds (MHz): 1: 2200 2: 2199 3: 2200 4: 2200 5: 2197 6: 2199 7: 2199 
           8: 2199 9: 2199 10: 2199 11: 2200 12: 2200 13: 2199 14: 2198 15: 2197 16: 2232 17: 2198 18: 2198 19: 2198 20: 2198 
           21: 2200 22: 2198 23: 2200 24: 2199 
Graphics:  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Gigabyte driver: nvidia v: 470.86 bus ID: 08:00.0 
           chip ID: 10de:128b 
           Display: x11 server: X.Org 1.20.13 driver: nvidia resolution: 1920x1080~60Hz 
           OpenGL: renderer: NVIDIA GeForce GT 710/PCIe/SSE2 v: 4.6.0 NVIDIA 470.86 direct render: Yes 
Audio:     Device-1: NVIDIA GK208 HDMI/DP Audio vendor: Gigabyte driver: N/A bus ID: 08:00.1 chip ID: 10de:0e0f 
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 0a:00.4 chip ID: 1022:1487 
           Sound Server: ALSA v: k5.13.0-28-generic 
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus ID: 06:00.0 chip ID: 8086:2723 
           IF: wlp6s0 state: down mac: <filter> 
           Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel port: N/A bus ID: 07:00.0 chip ID: 8086:15f3 
           IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: br-07e282766a33 state: down mac: <filter> 
           IF-ID-2: br-17e9f87d633b state: up speed: 10000 Mbps duplex: unknown mac: <filter> 
           IF-ID-3: br-7b840e00afb1 state: down mac: <filter> 
           IF-ID-4: br-af8f84b68805 state: down mac: <filter> 
           IF-ID-5: br-b8af0fc5a780 state: down mac: <filter> 
           IF-ID-6: br-bf2bfec5dec0 state: down mac: <filter> 
           IF-ID-7: br-c0d9d3de04b0 state: down mac: <filter> 
           IF-ID-8: br-d8aba3a33493 state: down mac: <filter> 
           IF-ID-9: docker0 state: down mac: <filter> 
           IF-ID-10: vboxnet0 state: down mac: <filter> 
           IF-ID-11: vboxnet1 state: up speed: 10 Mbps duplex: full mac: <filter> 
           IF-ID-12: veth0f2ef7f state: up speed: 10000 Mbps duplex: full mac: <filter> 
           IF-ID-13: vethd6cbcb5 state: up speed: 10000 Mbps duplex: full mac: <filter> 
           IF-ID-14: virbr0 state: down mac: <filter> 
           IF-ID-15: virbr0-nic state: down mac: <filter> 
Drives:    Local Storage: total: 15.46 TiB used: 2.33 TiB (15.0%) 
           ID-1: /dev/nvme0n1 vendor: Seagate model: XPG GAMMIX S50 size: 1.82 TiB speed: 63.2 Gb/s lanes: 4 serial: <filter> 
           temp: 45 C 
           ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> temp: 37 C 
           ID-3: /dev/sda vendor: Western Digital model: WUH721414ALE6L4 size: 12.73 TiB speed: 6.0 Gb/s serial: <filter> 
           temp: 34 C 
           ID-4: /dev/sdb vendor: Seagate model: ST500LM021-1KJ152 size: 465.76 GiB speed: 6.0 Gb/s serial: <filter> 
           temp: 40 C 
           ID-5: /dev/sdc vendor: Seagate model: ST9500325AS size: 465.76 GiB speed: 3.0 Gb/s serial: <filter> temp: 41 C 
Partition: ID-1: / size: 1.72 TiB used: 963.03 GiB (54.6%) fs: btrfs dev: /dev/nvme0n1p2 
           ID-2: /home size: 1.72 TiB used: 963.03 GiB (54.6%) fs: btrfs dev: /dev/nvme0n1p2 
           ID-3: swap-1 size: 100.68 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 38.2 C mobo: 34.0 C gpu: nvidia temp: 49 C 
           Fan Speeds (RPM): fan-1: 0 fan-2: 1956 fan-3: 0 fan-4: 0 fan-5: 0 fan-6: 0 fan-7: 0 gpu: nvidia fan: 33% 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
           1: deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
           Active apt repos in: /etc/apt/sources.list.d/ansible-ansible-focal.list 
           1: deb http://ppa.launchpad.net/ansible/ansible/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
           Active apt repos in: /etc/apt/sources.list.d/cappelikan-ppa-focal.list 
           1: deb http://ppa.launchpad.net/cappelikan/ppa/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list 
           1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/helm-stable-debian.list 
           1: deb https://baltocdn.com/helm/stable/debian/ all main
           Active apt repos in: /etc/apt/sources.list.d/kubernetes.list 
           1: deb https://apt.kubernetes.io/ kubernetes-xenial main
           Active apt repos in: /etc/apt/sources.list.d/linvinus-rhvoice-focal.list 
           1: deb http://ppa.launchpad.net/linvinus/rhvoice/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/longsleep-golang-backports-focal.list 
           1: deb http://ppa.launchpad.net/longsleep/golang-backports/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/lutris-team-lutris-focal.list 
           1: deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/maarten-baert-simplescreenrecorder-focal.list 
           1: deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/microsoft-edge-dev.list 
           1: deb [arch=amd64] http://packages.microsoft.com/repos/edge/ stable main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://packages.linuxmint.com una main upstream import backport #id:linuxmint_main
           2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/openvpn-aptrepo.list 
           1: deb http://build.openvpn.net/debian/openvpn/release/2.5 focal main
           Active apt repos in: /etc/apt/sources.list.d/opera-stable.list 
           1: deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
           No active apt repos in: /etc/apt/sources.list.d/pritunl.list 
           Active apt repos in: /etc/apt/sources.list.d/qbittorrent-team-qbittorrent-stable-focal.list 
           1: deb http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/rednotebook-stable-focal.list 
           1: deb http://ppa.launchpad.net/rednotebook/stable/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/riot-im.list 
           1: deb [signed-by=/usr/share/keyrings/riot-im-archive-keyring.gpg] https://packages.riot.im/debian/ default main
           Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list 
           1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https://repo.skype.com/deb stable main
           Active apt repos in: /etc/apt/sources.list.d/steam.list 
           1: deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
           2: deb-src [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
           Active apt repos in: /etc/apt/sources.list.d/sublime-text.list 
           1: deb https://download.sublimetext.com/ apt/stable/
           Active apt repos in: /etc/apt/sources.list.d/virtualbox.list 
           1: deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian focal contrib
           Active apt repos in: /etc/apt/sources.list.d/vscodium.list 
           1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main
           Active apt repos in: /etc/apt/sources.list.d/yandex-browser-beta.list 
           1: deb [arch=amd64] http://repo.yandex.ru/yandex-browser/deb beta main
Info:      Processes: 607 Uptime: 1h 39m Memory: 62.72 GiB used: 23.03 GiB (36.7%) Init: systemd v: 245 runlevel: 5 Compilers: 
           gcc: 9.3.0 alt: 8/9 clang: 10.0.0-4ubuntu1 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 

Operating system

Linux Mint 20.3 Una

Application version

Element-desktop application v1.10.1

How did you install the app?

apt install element-desktop

Homeserver

No response

Will you send logs?

No

dbkr commented 2 years ago

I'm afraid I don't understand what's happening here. Could you maybe give some more detail in your reproduction steps and/or include some screenshots showing the problem?

selukov commented 2 years ago

I recorded a video, the add attachment window is focused only once https://youtu.be/uinjQVot-Ag Where can I download version 1.9.9? I don't have problems with it

t3chguy commented 2 years ago

Where can I download version 1.9.9? I don't have problems with it

apt-get install element-desktop=1.9.9 probably

t3chguy commented 2 years ago

This'll be an Electron upstream bug which may have been resolved in later versions, but we can't currently upgrade Electron due to Electron 16 breaking Wayland support.

selukov commented 2 years ago

the problem is gone, close ticket Element: 1.10.5 Olm: 3.2.8