window_manager icon indicating copy to clipboard operation
window_manager copied to clipboard

setTitleBarStyle while retaining the frame

Open c0pp1ce opened this issue 11 months ago • 3 comments

Currently, when using

 await windowManager.setTitleBarStyle(
    TitleBarStyle.hidden,
    windowButtonVisibility: false,
 );

The top part of the window frame is removed as well. Is this a bug, intended or am I missing something?

The problem is its visually obvious (since all other sides have the frame) as well as unintuitive because its not possible to resize the window at the top edge (though that could probably be reenabled through startResizing).

c0pp1ce avatar Mar 06 '24 20:03 c0pp1ce

when setTitleBar hide, use media_kit enter fullscreen will has blank on the edges, Is this the problem?

lunxinfeng avatar Apr 13 '24 06:04 lunxinfeng

This is what I did:

    await windowManager.setTitleBarStyle(
      TitleBarStyle.hidden,
      windowButtonVisibility: false,
    );

I mean the topside window frame. It is missing while all others are still there. I am unsure if this is an OS (Windows 10) limitation or if it is a problem with this library.

c0pp1ce avatar Apr 25 '24 17:04 c0pp1ce

There is this small border around application windows, when hiding the title bar, the top border/shadow disappears.

This happens both on Windows and Linux, I'm unsure about MacOS, haven't tested it.

Xazin avatar Jun 04 '24 14:06 Xazin