Log In  


Cart #dock-1 | 2024-09-25 | Embed ▽ | License: CC4-BY-NC-SA
4

Mac OS X Tiger-style dock application.
Does not work in the web player.
Works best when saved to desktop and ran by double-clicking.

Current features:

  • Customisable program shortcuts (edit /appdata/dock/dock.txt)
  • Loads icons from application metadata
  • Automatic size adjustment
  • Follows user theme
  • Displays below or above every window (user selectable)
  • Reacts to user mouse in a way similar to the OS X Tiger dock

Not supported, but I might add these in the future:

  • [Very Likely] Custom positions ("north", "east", "south", "west", etc.)
  • [Quite Likely] Selectable orientation (landscape or portrait)
  • [Less Likely] Some sort of interactive applist edition thing
  • [Less Likely] Open shortcuts that aren't files with associated programs (currently throws error but doesn't crash)

Changelog:
0.1:

  • Initial release
    0.2:
  • [New feature] You can now specify the directory the given program should be opened in (though the paths should probably not contain spaces in them now)
  • [Enhancement] Icons now bob upwards when hovered over, and when clicked their background briefly changes colour
  • [Enhancement] Edges are now nice and rounded (and even transparent when needed)!
  • [Bugfix] Hopefully fixed unresponsiveness in certain situations
4


As a big fan of centred docks, I thank you! 🙏


No matter how many times I try, the dock becomes unresponsive once I open the notebook.
Am I doing something wrong?


You should save it and run it by double clicking it. When run using load and ctrl+r/run the program will do a weird "quit-to-console" if you press esc.


I saved it as dock.p64 and double-clicked to launch it.
It seems to work for a little while, then suddenly it's unresponsive.
Click on the text editor icon, edit the text, save, close the text editor, get a coffee. The dock is already unresponsive!
It's a little confusing what's going on.


1

That's certainly odd. I'll try to fix it in the next version.
If you don't want to wait you go into the source code and set z=-10 in the window definition in _init(). I found that it won't be responsive if I launch it at boot with startup.lua unless I change that value. Seems like z=-999 is too low for picotron... :P

Edit: Version 0.2 should address the issue (and it looks much better IMO too!)
Let me know if it works now.


1

I tried it right away.
I think it's working very well with the fixes.
No issues so far and very responsive.
Thank you very much :D



[Please log in to post a comment]