ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.23k stars 174 forks source link

Steam lose size and positioning of the windows from the last update #10566

Open Krovikan opened 7 months ago

Krovikan commented 7 months ago
System Information ``` Información del ordenador: Fabricante: ASUSTeK COMPUTER INC. Modelo: B150 PRO GAMING Factor de forma: Sobremesa Entrada táctil no detectada Información del procesador: Fabricante de la CPU: GenuineIntel Marca de la CPU: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz Familia de la CPU: 0x6 Modelo de la CPU: 0x5e Stepping de la CPU: 0x3 Tipo de CPU: 0x0 Velocidad: 3900 MHz 4 procesadores lógicos 4 procesadores físicos Hyper-threading: No compatible FCMOV: Compatible SSE2: Compatible SSE3: Compatible SSSE3: Compatible SSE4a: No compatible SSE41: Compatible SSE42: Compatible AES: Compatible AVX: Compatible AVX2: Compatible AVX512F: No compatible AVX512PF: No compatible AVX512ER: No compatible AVX512CD: No compatible AVX512VNNI: No compatible SHA: No compatible CMPXCHG16B: Compatible LAHF/SAHF: Compatible PrefetchW: No compatible Versión del sistema operativo: "openSUSE Tumbleweed" (64 bits) Nombre de kernel: Linux Versión de kernel: 6.7.4-1-default Editor de X Server: The X.Org Foundation Versión de X Server: 12101011 Gestor X Window: KWin Versión del runtime de Steam: steam-runtime_0.20240123.75011 Tarjeta de vídeo: Controlador: NVIDIA Corporation NVIDIA GeForce GTX 1070/PCIe/SSE2 Versión del controlador: 4.6.0 NVIDIA 550.40.07 Versión de OpenGL: 4.6 Profundidad de color del escritorio: 24 bits por píxel Frecuencia de actualización del monitor: 60 Hz Identificador del fabricante: 0x10de Identificador del dispositivo: 0x1b81 Revisión no detectada Número de monitores: 1 Número de tarjetas de vídeo lógicas: 1 Resolución de pantalla principal: 1920 x 1080 Resolución de escritorio: 1920 x 1080 Tamaño de la pantalla principal: 20.08" x 11.30" (23.03" diag), 51.0cm x 28.7cm (58.5cm diag) Bus principal: PCI Express 16x Memoria VRAM principal: 8192 MB Modos MSAA compatibles: 2x 4x 8x 16x Tarjeta de sonido: Dispositivo de sonido: USB Mixer Memoria: RAM: 32046 MB Hardware de RV: Visor de RV: No detectado Varios: Idioma de la IU: Español de España IDIOMA: es_ES.UTF-8 Espacio total en disco disponible: 1900655 MB Bloque libre más grande en el disco: 687551 MB Almacenamiento: Cantidad de SSD: 9 Tamaño de los SSD: 2000G,1000G,1000G,500G,0B,0B,0B,0B,0B Cantidad de HDD: 0 Número de unidades extraíbles: 0 ```

Please describe your issue in as much detail as possible:

From the last update of Steam Stable, the windows of Steam lose your sizes and positioning.

Steps for reproducing this issue:

  1. Open friends list Steam01
  2. Open the group chat Steam02 The two windows have the same size and position. Very annyoing.
  3. Resize both windows Steam03
  4. Close the two windows and open again. The size of friends list persist well (until the next restart of Steam), but the group chat lose his dimensions and the position in screen. Steam04
  5. Additional problem. Main window of Steam (with Library, etc) lose your condition of Maximized window if I click in taskbar to retract it without minimizing it.

Best regards

dsalt commented 7 months ago

I've noticed the maximisation problems. These appear to affect all Steam windows.

It doesn't matter how I maximise the window; it merely has to be maximised along both axes to trigger the bug (maximisation and unmaximisation along one axis only works correctly). Unmaximisation at this point will result in restoration to the unmaximised state – but the window is almost immediately returned to maximised size and position without being marked as maximised.

(Devuan stable, xfwm4 4.18. I don't think that the WM is relevant, though, as it is unchanged and this is new misbehaviour.)

Krovikan commented 7 months ago

I had addtional rules about size, position and ignore geometry for the windows of Steam. The 3 rules in Remember. Now, I deleted the 3 additional rules in all rules as is in KDE Plasma 5.27.10:

Windows rules Steam01

Application steam Steam02

Window steam Steam03

Another Window steam Steam04

At the moment, is all working as intended. Steam remembers the size and the position of the windows.

My apologies. Seems it was a mistake on my end.

Best regards

Krovikan commented 7 months ago

Now, the only problem that I have is that Steam starts always at 1280 960, when I have a 1920 1080 screen.

Two options that fails (I don't have rules in windows manager):

No more options. The other window's (chat, friends, etc works well).

Best Regards

Krovikan commented 7 months ago

I add two videos. In the same order as the steps described above.

First: Open Steam, Click in Maximize Steam, Click in Process Button of the taskbar, Click in Steam Button of the taskbar to return to Steam, Click again in Steam Button of the taskbar for minimize, and final click to recover the minimized window.

https://github.com/ValveSoftware/steam-for-linux/assets/3192501/ddcec2b1-9ee9-488a-8794-16bf9e5477de

Second: Open Steam, Resize the Steam's windows, Click in Process Button of the taskbar, Click in Steam Button of the taskbar to return to Steam, Click again in Steam Button of the taskbar for minimize, and final click to recover the minimized window.

https://github.com/ValveSoftware/steam-for-linux/assets/3192501/28401bf7-a988-416f-a91d-f68b37601ab7

Best Regards

dsalt commented 7 months ago

There's a related effect, likely caused by the same bug.

Dragging the window then cancelling the drag operation causes the window to be moved back to its initial position (all is well so far) but then immediately moved to the position from which it was just moved. Other than the brief restoration to its initial position, the result is as if the drag operation had been finished normally.

(This does not affect resizing.)

Also, since the main window's name is no longer fixed (it should be Steam but seems to be mutating to strings looking like about:blank?createflags=274&minwidth=1010&minheight=600&pid=0&browser=-1&browserType=4&restoredetails=1&x=2290&y=147&w=1024&h=768&useragent=Valve Steam Client/default), it becomes effectively impossible to move the window via utilities such as wmctrl.

Krovikan commented 4 months ago

As today, Steam version 1716584667, resize works well.

Steam remember to open maximized and don't turn black if I raise down and up the window to taskbar.

Greetings