PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Remove title bar

Open evrardjp opened this issue 4 years ago • 9 comments

Disable/toggle titlebar functions

One of the things you cannot do with the current windows settings is the disabling the title bars. To completely disable title bars, one have to run a script which toggles the value of WS_CAPTION for the window.

AFAIK, there is no way to set a "default" value of not showing titlebars in the registry.

This power toy, when enabled, would either have a shortcut to toggle the display of the titlebar or have a permanent running tool which disables the titlebar of a window when a new window is created.

WDYT?


If you'd like to see this feature implemented, add a 👍 reaction to this post.

evrardjp avatar Jan 25 '21 12:01 evrardjp

I would be okay to write the code for it, but I would need some guidance on powertoys innards.

evrardjp avatar Jan 25 '21 12:01 evrardjp

what is the scenario for disabling a titlebar?

crutkas avatar Jan 26 '21 00:01 crutkas

First, there are multiple apps which already don't need a title bar: browser, many electron apps. Some apps already planned this in their UI, some didn't.

Second, people using OLED panels probably don't want permanent bars/icons on their systems, which might cause burn-in after long hours of use.

On my linux with i3, I live with no titlebars for a while without any issue. I think it's a personalisation that's nice enough to warrant including it in powertoys, but not mainstream enough to include it in windows personalization tool directly.

evrardjp avatar Jan 26 '21 08:01 evrardjp

Ok, so disable, you mean remove. Not disable.

This also will be quirky as not all apps have what I'd classify as a normal titlebar. Spotify for example doesn't

crutkas avatar May 04 '21 23:05 crutkas

Yes, I meant remove, my bad. This doesn't have to be for all apps. We could think of a "whitelist" or a user defined list. I just think we should start somewhere , and increase the coverage based on demand.

evrardjp avatar May 05 '21 16:05 evrardjp

Having an allow list will solve some but we'd only be able to hit a subset of apps which is a great idea for this feature but i do think there are large edge cases.

Another group of apps may block critical functionality like pretty much any modern browser.

Love to see what people's interest here is

crutkas avatar May 06 '21 19:05 crutkas

I would totally use this feature to hide the title bar for legacy games that can only run in windowed mode (to mimic borderless fullscreen). Alternately, being able to use Alt + Spacebar to move the title bar out of view without it snapping back to the top of the monitor would also achieve the desired end-result.

bennovw avatar Dec 05 '22 22:12 bennovw

I would love to have such option available in PT. My case scenario would be to have a title less MPV player. I managed to hide its title with AHK script, but it still did not hide the title bar completely.

NVIDIA_Share_9fqh2R60jx

(MPV has an option to draw itself without borders, but then it looses rounded corners)

DanyGee avatar Jan 30 '23 11:01 DanyGee

Ok i wil pinch in here. Hiding it with AHK script with

WinSet, Style, ^0xC00000, A

Is not very good in some apps the content on the bottom of the window is cut after using above one (scenario where You have a window full height of screen). And the content that was previously cut to fit into window with title is still cut and streched to fit it without title - Last Sell was the game that infiurieted me with this.

So i found this: Alternative for full height is moving window position with this AHK script

wingetpos x, y,,, A
	y -= 100
	winmove, A,,%x%, %y%

where You put pixels related to Your resolution instead of 100 (current will just push window 100 pixels up)

jarvoren avatar Mar 10 '23 00:03 jarvoren

can i remove the obs projected screen titlebar ?

rifaterdemsahin avatar Jul 27 '23 13:07 rifaterdemsahin

That would be really awesome to have!

Dimfred avatar Oct 17 '23 20:10 Dimfred

I would also love this feature.

Some sort of hot key to get it to appear / disappear would be ideal.

sourbrew avatar Oct 24 '23 07:10 sourbrew

I would like this too.

benserwa avatar Dec 28 '23 11:12 benserwa

Same here. Was looking to do this for VLC -- but my first idea was to look for it in the PowerToys functions because it feels like a logical fit.

abhowitzer avatar Jan 05 '24 20:01 abhowitzer

Same here. Was looking to do this for VLC, but my first idea was to look for it in the PowerToys functions because it feels like a logical fit.

Me too, looking for the exact same thing. Another solution to this would be to make a picture-in-picture player for Windows entirely (like how we have a picture-in-picture extension for Chrome)

theComput3rNerd avatar Mar 12 '24 05:03 theComput3rNerd

MPV player actually started to support this feature under Windows11 somehow: (the window renders only thin frame with rounded corners and it looks sleek on a modern desktop) image Power Toys devs may want to check it's code to see how it was achieved.

Command to enable it from mpv.conf file: --window-corners=round

DanyGee avatar Mar 12 '24 08:03 DanyGee

the scenario is not having 20% of my screen space used by something that has only a function that is for 0 reason, not keybind only. (win + left mouse move) (win + rightclick drag window) it is better in every way please implement this in windows.

NicTanghe avatar Mar 20 '24 08:03 NicTanghe

Looking forward to the implementation of this feature

Ador-able avatar Jul 04 '24 09:07 Ador-able