telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.23k stars 5.2k forks source link

Media viewer stays above file manager dialog when you "Save as" #26395

Closed Goosegit11 closed 9 months ago

Goosegit11 commented 1 year ago

Steps to reproduce

  1. Open some picture in Media viewer
  2. Right-click
  3. Save as
  4. Media viewer window is stuck, you can't close it - probably file manager window is under it. trying to focus on media viewer (with window manager hotkeys) doesn't help.

Expected behaviour

file manager window appears above Media viewer

Actual behaviour

  1. Media viewer window is stuck, you can't close it - probably file manager window is under it. trying to focus on media viewer (with window manager hotkeys) doesn't help.

Operating system

Arch Linux, dk

Version of Telegram Desktop

4.8.3-1 static binary, development version

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

Goosegit11 commented 1 year ago

5048 related

John Preston:

The problem with ApplicationModal is that other windows, like Call Popup will appear below it and not accessible while you're in the viewer. Also custom notifications won't be above it and won't be able to receive input (for inline replies).

ilya-fedin commented 1 year ago

Can't reproduce image

Goosegit11 commented 1 year ago

uhmm, for some reason now it behaves another way, exactly like #5048 - window gets tiled and is not fullscreen

Goosegit11 commented 1 year ago

fullscreen screenshot: image

left is saved messages opened in separate window right is media viewer window

ilya-fedin commented 1 year ago

Well, given that you almost completely ignored the description of the 'Operating system' field in the issue template, I can't help you.

Goosegit11 commented 1 year ago

uhh, how do you get a version of Arch?? I thought about uname -r, but template says it's useless.

dk 1.8-1

xorg 21.1.8-1

ilya-fedin commented 1 year ago

Wait, dk is a WM? I thought it's some English abbreviation. It's ok, WM version is not important.

ilya-fedin commented 1 year ago

Well, I don't really know what to suggest to you... Apparently your WM resets the fullscreen hint after first show (the window is not destroyed as media viewer is heavy and its re-creation takes a lot of time, it's only hidden). Apparently it's some WM bug, idk, I'd recommend to report this to your WM.

Actually I don't know what to suggest with the file dialog either, apparently it's some WM bug as well.

Goosegit11 commented 1 year ago

okay, I'll report

hexando commented 1 year ago

same bug, arch kde

ilya-fedin commented 1 year ago

@hexando using official build?

hexando commented 1 year ago

@ilya-fedin yes

ilya-fedin commented 1 year ago

@hexando can you provide a screenshot?

hexando commented 1 year ago

@ilya-fedin oh, sorry. I got the issue mixed up. This is not the one

github-actions[bot] commented 9 months ago

This issue has been automatically closed because no developer succeeded to reproduce the issue with the given reproduction steps. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you find what's missing to reproduce the issue so that we can investigate further.

Note that GitHub is a developer communication platform. If you're an ordinary user seeking for help, get to support crew via Settings -> Ask question in the application.

Goosegit11 commented 9 months ago

Problem was stupid simple.

I had to click this button in Media viewer. It controls if the Media viewer is floating (in tiling windows managers, tiled) or fullscreen.

image

ilya-fedin commented 9 months ago

Well, it shouldn't stay above in either mode and it doesn't on Windows, macOS, GNOME and KDE as far as I know

Goosegit11 commented 8 months ago

https://github.com/telegramdesktop/tdesktop/issues/26395#issuecomment-1586294588

uhmm, for some reason now it behaves another way, exactly like #5048 - window gets tiled and is not fullscreen

I meant this. Media viewer window was getting tiled because I accidentally pressed the "fullscreen" button in Media viewer.

ilya-fedin commented 8 months ago

ah, ok