tao icon indicating copy to clipboard operation
tao copied to clipboard

[bug or feature?]: `WS_CAPTION` is added after calling `SetWindowPos`

Open eythaann opened this issue 1 year ago • 0 comments

Describe the bug After call SetWindowPos the WS_CAPTION style is added to the window

Steps To Reproduce

  • Create a Tauri window without decorations, this should remove WS_CAPTION.
  • call the tauri api for windows to change the size of the window or directly SetWindowPos on the window
  • now the window has the style WS_CAPTION again.

Expected behavior If decorations are disabled WS_CAPTION shouldn't be added when window position change.

Screenshots current:

Image

expected:

Image

Platform and Versions (please complete the following information): OS: Windows 11 Rustc: 1.81.0

eythaann avatar Apr 13 '25 05:04 eythaann