Replies: 5 comments 3 replies
-
this might be a fix for the preload problem, not sure exactly why it works .. https://github.com/Floffah/custom-electron-titlebar/commit/cc0eacfb65b0b2dbf95b24a967562860332741e8 digging through a lot of the forks... https://github.com/Calyx-/custom-electron-titlebar/commit/9863e12aa39bb077f8b49f7569169f03e14b2995 This I wouldn't put in, but I'm noting as a possible motivation for adding an ability to add things other than Menus to the titlebar joyoti-disha@368e069 This commit looks a little incompatible, but "adding an inactive background color" is exactly something i had thought of ym1229@1236ed4 One possible way to support custom HTML in the bar, although probably not nearly as comprehensive as it should be warrengalyen@64cb2ea Here's a rather extensive fix for broken mnemonics that doesn't appear to require having this menu be a duplicate of the system menu: Treverix@ee506cc Add for unit testing: Treverix@ee506cc |
Beta Was this translation helpful? Give feedback.
-
If one were to implement a strategy that allowed IPC, you can hook the main window to transmit document.title events ('page-title-updated') and send them to the cet component via ipc, just discovered that event is a thing while reading the docs.. to prevent having to auto-poll for it |
Beta Was this translation helpful? Give feedback.
-
Looks like setting css .container-after-titlebar { overflow: visible; } is likely preferable to overflow: auto, as we probably don't want scrollbars all over the place |
Beta Was this translation helpful? Give feedback.
-
Totally agree with your ideas! 😃 It'd be also nice if we had a documentation on how to style the menu bar(, and perhaps enable donations on the repo). |
Beta Was this translation helpful? Give feedback.
-
I hoped I'd have time to pick a few of these things off quickly, but I don't even have time to handle small things in my own repos right now. A lot of this stuff is easy, and could cherry pick from other places. I don't want to start inserting features without some thought behind them though..... |
Beta Was this translation helpful? Give feedback.
-
If you're interested in some ideas for enhancements, some of which I might be able to contribute to, in the very short time I've been using this :-) i've come up with some ideas that I think would be pretty useful to put into the lib
... i want to say i had a few other quick ideas, but i can't remember them, this pretty much sums up some early notes/exploration i've done just poking around with it.
To describe what I'm doing with this right now, i'm presently wrapping an existing web application that i do not have control over, and making significant changes to it via a preload script. I suspect as I get into using it more, I might have even more weird ideas :-D
Anyway, figured I'd just throw these all out here, and see if you'd be interested in any of these
Beta Was this translation helpful? Give feedback.
All reactions