Dockbert improvements

How do I move icons to third side of the doc, rn. its only for new apps. also how to change Dock color linke in pictures above?

In my screenshot the first tab is used for system icons, the second is for running applications (it’s a special type in Dockbert) the third is a collection of icons where you can launch the applications. It’s equivalent to the stock configuration.
An icon can be moved by dragging it around. Beware that Dockbert has a strange and inconvenient way of managing this process, IMO.
Some icons accept a drop and pass an entry_ref to the application (don’t do that with BeShare! Or a nasty bug of it will replace a file with a flattened BMessage). Some others will be swapped.
I suggest to always drop on an empty area of the tab.
Finally, you can drop an icon onto the Trash icon in Dockbert itself and make it disappear from the tab.
Adding a new tab is more convoluted and as far as I can tell can’t be achieved until the original Dockbert preferences are reintroduced (for the records, I’m working on this).

2 Likes

You can drop colors from the app Colors available from the depot.
Another way, not for the faint of heart, is to act directly on the flattened BMessage representing Dockbert’s preferences in /boot/home/config/settings/dock_settings.
You need to open it with Kottan (also available from the depot) and make the change.
Dropping a color is way easier…

1 Like

I’m finalizing a complete overhaul of the preferences.



clip

11 Likes

Is there any way to adjust the icon size in the dock?

1 Like

Excelent work @Nexus-6 and all people involved. I have had a question for a long time, maybe there is a short answer to it. Why can a replicant be transparent but dockbert can’t? Hehehehe!

1 Like

Currently not, it would require some intrusive changes.

A replicant is a BView that is added as a child to the Tracker. Dockbert is a BWindow and it would require a change to the app_server.

1 Like

Short and clean response, thanks! So we wait to it occurs.

Can it use directly the image on the wallpaper from the path on the screen configuration to use a part crop?it can be cool and maybe if you can choose one patron image for a context as a theme? It is not a transparency just an image laded i suppose

I don’t think it’s a good idea, it’s a half baked hack that would not give acceptable results. Frankly speaking, I would spend my time studying the app_server and trying with a more structured and systematic solution, instead.

2 Likes

cool, but maybe is not so bad idea if someone want to use a different patron and not the wall paper too :slight_smile: maybe i can have poker hearts in my wallpaper and asign a diamond patron to the docbert too, just an idea.

Thanks for your great work there.

I hacked the screen shot background with my HiQDock and it’s really not great. the dock only works well in ‘auto-hide’ mode. I was hoping for 10 years now that window transparency (How to transform the app_server code to use compositing | Haiku Project - #26 by PulkoMandy) in the app_server would come to Haiku.

1 Like

Window transparency and non-regular shaped windows are two different concepts. While the former most likely requires a compositor, the latter does not. In theory, my own speculation, it could be achieved by clipping the BWindow’s root view to an arbitrary shape (a BPicture specifically). Apparently this is how it was implemented in Dano’s app server.

2 Likes

There is an uncompleted looncraz project with plans, as well as unfinished stippi code for transparency.

Are these somewhere?

looncraz’s work has commits on github and a progress plan:

Alpha Transparency in PNGs missing for desktop backgrounds:

https://dev.haiku-os.org/ticket/1370

3 Likes

Wow! I never realized that code of their in progress work for adding compositing to the app_server was available! I couldn’t figure this out for 7 years. :exploding_head: I just assumed their compositing work was never uploaded or wiped at some point…How did you find this in the wealth of mailing list entries?

1 Like

Why would we do that? Sounds like a bad idea :slight_smile:

2 Likes

I found it in the mailing list, searching where I could find source code references. Source code needs to be RFC or updated, the looncraz plan proposal to be a good way to start.

1 Like