ocd-Dock - a dock written for Puppy
I never thought I would ever say this, but, I like ocd-Dock better than wbar.
It has so many configuration options. Good job ProgRob.
It has so many configuration options. Good job ProgRob.
- Attachments
-
- fd64-ocd-Dock.png
- My Fatdog64-710 desktop
- (130.14 KiB) Downloaded 624 times
@Smokey01 - embarrassed thanks for the compliment
@Torm - thanks for the comments. Should be able to add the -s flag to calendar - will look in to that
@Keef - thanks for confirming that. I have now been able to replicate the memory leak and it appears to be emanation the from a piece of code that was altered recently. Am now trying to track the exact lines that are causing the fault. I suspect it may be a glitch in the Vala compiler. Then again we are using a really old version of Vala in Puppy.
Sorry for slow responses at present - normal service should resume 5th September
Rob
@Torm - thanks for the comments. Should be able to add the -s flag to calendar - will look in to that
@Keef - thanks for confirming that. I have now been able to replicate the memory leak and it appears to be emanation the from a piece of code that was altered recently. Am now trying to track the exact lines that are causing the fault. I suspect it may be a glitch in the Vala compiler. Then again we are using a really old version of Vala in Puppy.
Sorry for slow responses at present - normal service should resume 5th September
Rob
Hey ProgRob. Just to follow up, I think I might have figured out what was going on with those icons. Or at least solved the problem.
First I noticed there was a line in my pin file for a program that I don't have anymore, that might have caused some kind of error. And I noticed that both Rox and Geany are roxapps in /usr/local/apps, I thought maybe that had something to do with it.
But in the end I just deleted the Rox-filer from my pin file, opened it, right clicked and re-pinned it. Now it seems to be working great; before it used to have the pinned icon and also show the open app in a separate location on the bar. Now when I open rox-filer, there is only one icon, which is the way it should be.
Not sure why the launcher used to work and also show the open app separately. Must have been my fault somehow, I've been doing a lot of tweaking.
Anyway cheers and thanks for a great dock!
First I noticed there was a line in my pin file for a program that I don't have anymore, that might have caused some kind of error. And I noticed that both Rox and Geany are roxapps in /usr/local/apps, I thought maybe that had something to do with it.
But in the end I just deleted the Rox-filer from my pin file, opened it, right clicked and re-pinned it. Now it seems to be working great; before it used to have the pinned icon and also show the open app in a separate location on the bar. Now when I open rox-filer, there is only one icon, which is the way it should be.
Not sure why the launcher used to work and also show the open app separately. Must have been my fault somehow, I've been doing a lot of tweaking.
Anyway cheers and thanks for a great dock!
The Way of the Samurai
Given the disappointing problems I am going to have to put a note to folk to not download the current version.
When I am back from holiday on Monday I will make version 3.1 available again. I will then work on version 4.2 to fix the memory leaks.
I have identified two memory leaks in current code. One appears to be easy to fix, the other is more problematic. Although the code was changed in the latest version it was only to reduce a level of indirection so should have behaved exactly the same. I don't have a proven solution but there is a way I am going to try to fix things which I suspect should work. No promises, but hopefully a new version for folk to try by a week today.
Regards,
Rob
When I am back from holiday on Monday I will make version 3.1 available again. I will then work on version 4.2 to fix the memory leaks.
I have identified two memory leaks in current code. One appears to be easy to fix, the other is more problematic. Although the code was changed in the latest version it was only to reduce a level of indirection so should have behaved exactly the same. I don't have a proven solution but there is a way I am going to try to fix things which I suspect should work. No promises, but hopefully a new version for folk to try by a week today.
Regards,
Rob
New release 4.2.2
Another new release with the following changes:
Any feedback, as always, very welcome,
Rob
- Fixed a bug whereby X Windows gradually stole more and more virtual memory - special thanks to Keef for spotting this
- Altered the code to load in indicators as there was a problem with one of Gdk's functions in Slacko which did not work as per the Gtk specification. This meant that indicators were too big, were incorrectly placed and could cause ocd-Dock to crash sporadically. The change is a small workaround to avoid using the offending gdk function.
- Improved the information provided when the -m switch is used
- Altered one of the matching rules which previously meant that under TahrPup Urxvt terminal windows were being matched to the wrong .desktop file due to URxvt being reported as the application name.The matcher now does a caseless match on application name
- Modified the code for drawing corners to remove some of my hand coded graphics and to use Cairo graphics instead. This looks to me like it has improved the look of rounded corners
- Identified and removed a load of redundant code which should make the footprint slightly smaller
- Fixed a strange coding error which must have crept in at some point which meant that the matrix theme did not display correctly
- Modified a piece of code to detect which dockitem the mouse was over to make it more efficient. This should slightly reduce processing power needed when the mouse is moving over the dock
Any feedback, as always, very welcome,
Rob
Nice!
This is a very lovely dock.
For some reason, it still doesn't want to show the icon for Roxfiler, probably something I messed up over here.
error.log says "Something wrong when iterating over desktop file directory".
Starting from terminal gives: (ocd-Dock:4487): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
This is a very lovely dock.
For some reason, it still doesn't want to show the icon for Roxfiler, probably something I messed up over here.
error.log says "Something wrong when iterating over desktop file directory".
Starting from terminal gives: (ocd-Dock:4487): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
The Way of the Samurai
Hi Ghost Dog,
Thanks for the nice words.
Firstly, don't worry about the Wnck-Warning - it does one of those for each open window at start up. I don't honestly know the cause but I have seen other developers reference it. It can be safely ignored.
Now for the Rox-filer problem. This is interesting. One central part of ocd-Dock is the matching algorithm which tries to work out from a window what application caused it to open. This error only comes up if ocd-Dock is trying to iterate over the set of desktop files and it encounters an error. What would help track it down is to open ocd-Dock from a terminal with the switch -m, preferably with no other windows open. Then open Rox-filer. The diagnostic window should report what matching it is trying and hopefully should show some useful information.
If you can report back what it says we might be able to work out the problem as it could easily be a coding error.
Thanks,
Rob
Thanks for the nice words.
Firstly, don't worry about the Wnck-Warning - it does one of those for each open window at start up. I don't honestly know the cause but I have seen other developers reference it. It can be safely ignored.
Now for the Rox-filer problem. This is interesting. One central part of ocd-Dock is the matching algorithm which tries to work out from a window what application caused it to open. This error only comes up if ocd-Dock is trying to iterate over the set of desktop files and it encounters an error. What would help track it down is to open ocd-Dock from a terminal with the switch -m, preferably with no other windows open. Then open Rox-filer. The diagnostic window should report what matching it is trying and hopefully should show some useful information.
If you can report back what it says we might be able to work out the problem as it could easily be a coding error.
Thanks,
Rob
New Release - 4.2.3
I have just uploaded another bug fix release. Three changes:
- Fixed a bug that made vertical docks unresponsive
- Modified matching rules to improve the matching on applications such as htop that run in the linux shell
- Improved feedback on one of the matching errors that can occur (especially for @GhostDog)
All feedback welcome - as always
- Fixed a bug that made vertical docks unresponsive
- Modified matching rules to improve the matching on applications such as htop that run in the linux shell
- Improved feedback on one of the matching errors that can occur (especially for @GhostDog)
All feedback welcome - as always
Re: New Release - 4.2.3
Hi,ProgRob wrote:All feedback welcome - as always
I am wondering if dock items could accept dragging/dropping files from the ROX-Filer in the next ocd-Dock version
Thanks.
Have fun!
Regards,
gjuhasz