I think I have explained quite clearly why it is the way it is. And I don’t think I am mysterious.
Do you plan to also add advertising in the Deskbar menu to look more like Windows?
Ok that is a stupid way to say it, but to me “make it work more like Windows” is not a great argument. They get some things right, they get some things very wrong.
I understand wanting to reach windows with a single click. In fact, that is not really a new idea in Haiku, you can read stippi’s notes about it from back in 2011: Deskbar rewrite | Haiku Project
Some of his ideas have since been implemented, but not quite all of them. Some things I disagree with, and some should be reviewed as we may have taken a different direction.
In my case, I keep DeskBar in vertical mode (I can fit a lot more windows in the list that way), use “expander” mode (where each window is listed in deskbar), and I keep the application names visible. This setup gives me the most efficient use for now.
The horizontal version of DeskBar doesn’t have anything like “expander” mode. Maybe that’s the way to go, in some way or another:
- Reuse the same checkbox, no need for a new option
- Maybe make it look and behave similar if that makes sense, maybe make it work a bit different in horizontal mode
This way, we keep the consistency, and I think we can make everyone happy, since people can just untick that checkbox and keep their DeskBar as it is now.
It would probably look something like:
[Leaf menu] [App1 Icon][App1 Window1][App1 Window2] [App2 Icon][App2 Window1][App2 Window2] … [Replicants][Clock]
(here I’m ignoring stippi’s suggestion to replace the Leaf menus with multiple separate menus to essentially have one less level of digging to do, as well as several other of his suggested changes. Let’s do one thing at a time
).
Clicking the app icon could either bring up the existing deskbar menu, or maybe do fold/unfold of the windows on the primary mouse button, and the menu on secondary mouse button. I think I would be OK with a similar change to the vertical deskbar in expander mode (I rarely use the menu in its current state).
A click on a window would raise and activate it (as it already does in vertical mode). The window items can behave as in vertical+expander mode: the icon changes for windows on other workspaces, greyed out windows are minimized, etc. Since the logic is already there in vertical mode, this should not be too much work to achieve?
In the current situation, maybe. But if the DeskBar entry could get a customizable menu, that changes everything. Now you can have your app runnning and have a “new window” there when you need it. Or you can have the entire controls for the app in the DeskBar entry (I imagine a music player which would run that way most of the time, with the menu having play/pause buttons, and then you could drag and drop music files or directories or queries to it). No need for a media player app to waste any more space on screen than that, I think?
I have also mentionned the (mis)use of deskbar replicants for things that could be implemented this way. That is another case where we took a not-so-great trend from Windows and did the same without thinking about it. I like replicants that show useful info (like PowerStatus and KeymapSwitcher), but I think some other things don’t really belong there (probably most uses of QSystray, and generally anything that uses this to implement some kind of “run in background” behavior).
And so, I would like the possibility of apps with no windows to continue showing in DeskBar, if possible. Just to keep that possibility open. But with a bit of thinking about the design, I think that shouldn’t be a problem for the changes you want to make. It will just look quite a bit different from what Windows does.