ocd-Dock - a dock written for Puppy

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#91 Post by smokey01 »

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.
Attachments
fd64-ocd-Dock.png
My Fatdog64-710 desktop
(130.14 KiB) Downloaded 624 times

ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

#92 Post by ProgRob »

@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

User avatar
Ghost Dog
Posts: 163
Joined: Fri 27 Jan 2012, 04:29

#93 Post by Ghost Dog »

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!
The Way of the Samurai

ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

#94 Post by ProgRob »

Thanks for letting me know, Ghost Dog. I was getting worried about the number of issues with this release. That's one less to worry about

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#95 Post by smokey01 »

I have been experiencing a number of lockup lately. I've had to power down to fix the problem. I'm sorry to report but it does look like ocd-Dock is the culprit. I guess those memory leaks reported earlier are confirmed. Until ProgRob is able to fix the issue I'm back with wbar :(

ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

#96 Post by ProgRob »

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

ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

#97 Post by ProgRob »

New release - version 4.2.1 - this fixes the memory leaks and visual glitches that were around. No new functionality, but it shouldn't gradually eat your memory any more.

Regards,
Rob

ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

New release 4.2.2

#98 Post by ProgRob »

Another new release with the following changes:
  • 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
So all pretty much small stuff, but hopefully a better release!

Any feedback, as always, very welcome,

Rob

User avatar
Ghost Dog
Posts: 163
Joined: Fri 27 Jan 2012, 04:29

#99 Post by Ghost Dog »

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
The Way of the Samurai

ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

#100 Post by ProgRob »

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

ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

#101 Post by ProgRob »

For some reason the post got put in twice - anyhow, now deleted

ProgRob
Posts: 67
Joined: Wed 13 Feb 2013, 12:39

New Release - 4.2.3

#102 Post by ProgRob »

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

User avatar
gjuhasz
Posts: 422
Joined: Mon 29 Sep 2008, 14:28

Re: New Release - 4.2.3

#103 Post by gjuhasz »

ProgRob wrote:All feedback welcome - as always
Hi,

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

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#104 Post by Keef »

Just for info - ocd-Dock runs on DebianDog Jessie and Stretch.

Post Reply