Skip to content

Telegram Desktop resets its position after switching to fullscreen #17

@alex-voodoo

Description

@alex-voodoo

This is probably connected to #12.

I'm on Fedora 33, using the latest version of UltrawideWindows (installed it via git clone).

I move the Telegram's window to some position using one of shortcuts exposed by UltrawideWindows. The window moves and stays there, switching the virtual desktop doesn't break anything. However, when I click on any image or video in any message within Telegram, it opens fullscreen, and when I close it to return back, the messenger's main window is reset to the position that has been set to it previously using the other means, not the UltrawideWindows script.

For example:

  1. I move the main Telegram window somewhere in the middle of the screen.
  2. I press Ctrl+Meta+Numpad6. The window moves to 1/4 width at the right side of the screen.
  3. I open some media. It opens fullscreen.
  4. I press Escape or click the Close button.
  5. The window position is reset to what it has been in (1).

The unwanted reset can be avoided if after (2) I alter the window position manually. Dragging the window border a few pixels here and there is enough.

I tried the same with other applications, e.g., Chrome and Firefox, they worked properly, resetting their position to what has been assigned via UltrawideWindows. Probably they use some other method of going fullscreen, or do a better job on restoring the position.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions