Currently, Logseq displays the application title and icon on top of the window on Windows. This may be a matter of taste, but I think it would look much cleaner without it (macOS doesn’t have this, and it looks great!). The color difference between the theme and the window chrome is a bit jarring.
Bader
December 15, 2021, 7:39pm
2
That’s not controlled by logseq. That’s controlled by windows window manager, that’s why it looks different on macOS. |
As far as I know, logseq can’t control the title bar. It’s controlled by the window manager.
1 Like
alex0
December 15, 2021, 7:51pm
3
Electron supports different degrees of customization of the titlebar on Windows:
The BrowserWindow module is the foundation of your Electron application, and it exposes many APIs that can change the look and behavior of your browser windows. In this tutorial, we will be going over the various use-cases for window customization on...
One is based on this Web standard:
# Window Controls Overlay for Installed Desktop Web Apps
## Status of this Document
This document is intended as a starting point for engaging the community and standards bodies in developing collaborative solutions fit for standardization. As the solutions to problems described in this document progress along the standards-track, we will retain this document as an archive and use this section to keep the community up-to-date with the most current standards venue and content location of future work and discussions.
* This document status: **Active**
* Expected venue: [W3C Web Applications Working Group](https://www.w3.org/2019/webapps/)
* Current version: this document
* See also: [w3c/manifest#847](https://github.com/w3c/manifest/issues/847)
* See also: [w3c/csswg-drafts#4721](https://github.com/w3c/csswg-drafts/issues/4721)
* See also: [WICG discourse thread](https://discourse.wicg.io/t/proposal-title-bar-customization-for-web-apps/4278)
## Table of Contents
- [Introduction](#introduction)
- [Examples of desktop apps customizing the title bar area](#examples-of-desktop-apps-customizing-the-title-bar-area)
- [Problem to solve: Installed desktop web apps title bar area is system reserved](#problem-to-solve-installed-desktop-web-apps-title-bar-area-is-system-reserved)
- [Goals](#goals)
- [Proposal](#proposal)
- [Overlaying Window Controls](#overlaying-window-controls-on-a-frameless-window)
- [Working Around the Window Controls Overlay](#working-around-the-window-controls-overlay)
- [JavaScript APIs](#javascript-apis)
This file has been truncated. show original
that is used for example by VS Code:
and Microsoft Teams:
that are applications by Microsoft. Also Spotify and many other Web-based applications use this.
5 Likes
Bader
December 15, 2021, 8:04pm
4
Oh I didn’t know that. Thanks for the information
2 Likes
I support that request. It would provide a better look and feel in Windows.
Ginko
October 3, 2022, 2:51pm
7
I also support the request. Maybe someone already has the custom theme fix?
blork
October 15, 2022, 1:58pm
8
A mediocre half-measure (that works for every application) would be to use an AutoHotkey script that hides the title bar. Download AHK , open any text editor, paste this text
;toggle title bar
;ctrl(^) + alt(!) + t
^!t::
WinSet, Style, ^0xC00000, A
and save it as toggle title bar.ahk
, then ‘open’ the file to run the script.
I stole the code directly from their docs , changing only -
to ^
so the shortcut toggles states instead of only removing the title bar (so you can bring it back to move the window around).
Result:
Link to a previous attempt at implementing this:
logseq:master
← MrWillCom:enhance/immersive-win32-titlebar
opened 11:50PM - 13 Apr 22 UTC
[🚧 WIP]
Implement a native-like Win32 title bar which supports light/dark mod… e.
![screenshot](https://user-images.githubusercontent.com/47271684/163287744-038b6f52-e63a-438a-bd0e-cf317ed76abe.png)
Plus, I'm new to Clojure, please forgive me for my mistakes. And I wish you could give me some help on IPC handling, thanks!