Community
Participate
Working Groups
In Windows, the title bar remains white even in dark theme, so why not remove it? When press `Alt+F11` to enter full-screen mode, the title bar is hidden. Was it possible to hide title bar without entering full screen mode?
The title bar is unnecessary sometimes when for example, detaching a Java Editor or Git staging View.
What version of Windows are you using? https://bugs.eclipse.org/bugs/attachment.cgi?id=282907 shows the title bar being the system accent color, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=563282 I'm not a SWT expert by any means, but isin't showing/hiding the title bar delegated to the native widget toolkit (in this case, Win32)? I'm pretty sure KDE Plasma (Linux desktop) lets you remove the title bar of applications.
(In reply to Andrew Obuchowicz from comment #2) > https://bugs.eclipse.org/bugs/attachment.cgi?id=282907 shows the title bar > being the system accent color, see > https://bugs.eclipse.org/bugs/show_bug.cgi?id=563282 There exist an extra option in Windows whether the accent color is used in title bar or not. (In reply to Andrew Obuchowicz from comment #2) > I'm not a SWT expert by any means, but isin't showing/hiding the title bar > delegated to the native widget toolkit (in this case, Win32)? I'm pretty > sure KDE Plasma (Linux desktop) lets you remove the title bar of > applications. Same for Windows. An application can decide if the window should include a title bar. However without that bar you lose any functionality which is provided by the title bar.
Thanks for the clarification Paul :) > However without that bar you lose any functionality which is > provided by the title bar. This is a big enough reason to not remove the title bar IMO. Maybe using the system accent color or manually setting the title bar's color through the Windows CSS would be best?
(In reply to Andrew Obuchowicz from comment #4) > Thanks for the clarification Paul :) > > > However without that bar you lose any functionality which is > > provided by the title bar. > > This is a big enough reason to not remove the title bar IMO. Maybe using the > system accent color or manually setting the title bar's color through the > Windows CSS would be best? There is no way I know to change the title bar color from the application itself and in general is the title bar customization limited to the accent color AFAIK. There exist concepts (in my opinion horrible concepts) like client-side decoration which would allow custom title bar colors but that is not supported by SWT as far as I know.
Styling the Windows title bar is covered by Bug 563329. Suggesting to mark this one as dup.
> > There is no way I know to change the title bar color from the application > itself and in general is the title bar customization limited to the accent > color AFAIK. That's ok, even more reason for us to look into getting Bug 563282 merged :)
@Gao Hao > In Windows, the title bar remains white even in dark theme, so why not remove > it? As paul mentioned, the title bar provides functionality for the IDE's main window. Maybe a better solution would be to provide theming for the title bar (eg. using the system accent color). > The title bar is unnecessary sometimes when for example, detaching a Java > Editor or Git staging View. I'd create a seperate bug for this. Maybe something like: "Allow floating views to disable the title bar"?
*** This bug has been marked as a duplicate of bug 563329 ***
Created attachment 283255 [details] display information in menu bar instead of title bar(VS Code) In VS Code, title bar is removed and title is displayed in menu bar. If we choose `native` for `Title Bar Style` in VS Code Settings page, title bar will be displayed, but the title bar is white.
Created attachment 283256 [details] display information in menu bar instead of title bar(NetBeans) NetBeans can remove title bar and display info in menu bar(a plug-in provide this feature). If I double click the menu bar, NetBeans will change between full screen and maximization. Eclipse can remove title bar by using the `Alt+F11`, but this shortcut will make Eclipse full-screen. So, If Eclipse can display info in menu bar and can `Maximize Restore On Double Click`, it would be great.
Created attachment 283257 [details] display information in menu bar instead of title bar(Intellij IDEA) Intellij IDEA decided to remove title bar last year/
Created attachment 283259 [details] title bar is too tall In some linux machine, title bar is too tall. You can use the native color for title bar, what about the height of title bar? Will Eclipse control it?
I believe this bug needs reopening. The alleged duplicate bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=563329 was resolved in 4.22 but - as far as I can tell - it only provided some cosmetic styling of the title bar so it can be adjusted to follow "dark" themes (yay!). I have attempted to "enable theming" under Preferences->General->Appearances with theme set as "System" but this has made no difference: the title bar is still wasting precious screen real estate (Ubuntu 21.10, GNOME 40.4.0). How do we get this bug re-opened?
Not sure if SWT API allows to remove the title bar / move the title bar into the same place as the menu. Moving to SWT for investigation.