Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
83 user(s) are online (66 user(s) are browsing Forums)

Members: 0
Guests: 83

more...

Support us!

Recent OS4 Files
OS4Depot.net




(1) 2 »


New windows bar docky, from OpenAmiga
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3186
centaurz has released a new version of the Windows bar docky.

Download here:

http://os4depot.net/index.php?functio ... ty/docky/winbar-docky.lha

_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top

Re: New windows bar docky, from OpenAmiga
Just can't stay away
Joined:
2006/11/24 17:54
From Sanremo
Posts: 1839
@orgin

Nice, but i would prefer a starbar than a docky start bar.. btw nice work

   Report Go to top

Re: New windows bar docky, from OpenAmiga
Just popping in
Joined:
2007/9/3 18:27
From France
Posts: 144
@nubechecorre

This may interest you then
http://openamiga.org/?function=viewproject&projectid=47

(still not ready for beta though)

And there is also quickstarter from TSK on Os4depot.


Edit: It all depends on what you call a start bar. Winbar.docky is meant to manage all opened windows whilst taking as less space as possible to fit it in a dock, but you can put it in its own dock and extend its size to the screen width as well.


Edited by centaurz on 2009/3/22 21:18:43
   Report Go to top

Re: New windows bar docky, from OpenAmiga
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3186
@centaurz

Would it be possible, if a window is an app window, retrieve its app icon image and display it in the docky? (Downscaled to 16*16 or so)

_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top

Re: New windows bar docky, from OpenAmiga
Just popping in
Joined:
2007/5/15 13:42
From Austria
Posts: 104
@orgin

I don't think so. An AppWindow doesn't need to have an AppIcon (and vice versa). Also not every program does have an AppIcon.

In eg. Simplemail you can choose when you want to have an AppIcon: Never, Iconified or Always. And it changes its AppIcon depending on the state and emails. This is done with removing the old AppIcon and add a new one.

   Report Go to top

Re: New windows bar docky, from OpenAmiga
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3186
@Gazelle

Oki, too bad.

_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top

Re: New windows bar docky, from OpenAmiga
Just popping in
Joined:
2007/9/3 18:27
From France
Posts: 144
@orgin

Actually, for window.class instances at least it would be possible to use tag WINDOW_Icon, but I don't know a simple way of detecting if an Intution window is an object of this class.

   Report Go to top

Re: New windows bar docky, from OpenAmiga
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3186
@centaurz

Oki, scanned the autodocs for half an hour or so and couldn't find anything... ohh well.

_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top

Re: New windows bar docky, from OpenAmiga
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3186
@centaurz

Would it be possible to add an option to sort the bars it time order rather than by name? That is, in the order (in time) that they were added to the workbench. That way the latest window that was added to the workbench is always last in the list.


Is it possible to retrieve any type of identification from a window, such as what program it belonged to, name of process or somesuch? If there's some way to do that then it could be possible to configure a database of icons that would be displayed on the bar. Currently it's very hard to identify the different bars so any type of visual identification would help.

_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top

Re: New windows bar docky, from OpenAmiga
Quite a regular
Joined:
2006/11/27 14:35
From Nantes, France
Posts: 863
@orgin

If the program is registered with application.library it should be possible to retreive its icon relatively easily. IIRC TSK already did that in one of its numerous useful tools on OS4Depot but can't remember which.

_________________
Back to a quiet home... At last
   Report Go to top

Re: New windows bar docky, from OpenAmiga
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1103
If you know a full path to the app then it's, of course, easy to get its icon. But how to get app info from the Window structure, I don't know.

@centaurz + all
Quote:
retrieve any type of identification from a window

Show a thumbnail when mouse pointer is on a bar (like in Winblows/Linux) ?

_________________
Rock lobster bit me, so excuse me.
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
   Report Go to top

Re: New windows bar docky, from OpenAmiga
Just popping in
Joined:
2007/9/3 18:27
From France
Posts: 144
@TSK

Quote:

Show a thumbnail when mouse pointer is on a bar (like in Winblows/Linux) ?


Yes, I'd like to add that feature, would be cool, as well as icons for window.class windows (when I resume working on winbar.docky).


@orgin

Quote:

Would it be possible to add an option to sort the bars it time order rather than by name

What a bizarre idea ! No, just joking , yes this can be done but it's not as straightforward as showing it alphabetically sorted.

As for the info about the window, there used to be OwnerOfMem() function in Exec that could have provided an alternative way of obtaining the parent process (maybe...), but it no longer works in OS4.1.
So IMHO the best that can be done is showing a thumbnail of the appicon for ReAction windows.

   Report Go to top

Re: New windows bar docky, from OpenAmiga
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3186
@orgin

New version up!

50.7 (19/05/09)
- Small icons are now displayed in buttons for which the program "owning"
the window can be guessed
- Added an option to sort windows by opening order instead of alphabetical
order
- Added new preferences for colors and scrolling speed (horizontal and
vertical)
- Fixed bugs in layout

Thanks CentaurZ !

_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top

Re: New windows bar docky, from OpenAmiga
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3186
@orgin

Snapshot:

http://orgin.biz/~orgin/images/winbar_50.7.png

Looks really nice with the icon addition.

@CentaurZ

How did you manage to get hold of the program icon?

_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top

Re: New windows bar docky, from OpenAmiga
Just popping in
Joined:
2007/9/3 18:27
From France
Posts: 144
@orgin

Thanks!
Well, I finally use the Window structure to retrieve a pointer on the task listening to the IntuiMessages (through the window user port). It's probably the way AmiStart does its job too. It works quite well with a lot of programs, but obviously if the GUI handling is deferred to a sub-process, it won't.

   Report Go to top

Re: New windows bar docky, from OpenAmiga
Supreme Council
Joined:
2006/11/16 19:25
From Sweden
Posts: 3186
@centaurz

Hmm, very unstable here. After a reboot I get a DSI error when it loads. "Task Winbar.docky (Notify)".

Unable to retrieve a crash log, grim stops working, non functional input buttons. Even my receiving null modem terminal freezes up until I restart the a1. After turning off the A1 I get this output:

http://crashlog.os4depot.net/cl202

I also managed to get it to display a window button with no windows open.

The window titles aren't updated when the windows have changed them, perhaps you could add a periodic check?

_________________
Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
   Report Go to top

Re: New windows bar docky, from OpenAmiga
Not too shy to talk
Joined:
2006/11/29 1:00
Posts: 449
@orgin

I'm having the same stability problems here after rebooting. Though for me I can get rid of the problems if I delete the config information (winbar-docky.xml) from ENVARC:. However, the crashes return after saving the configuration (not just in the winbardocky but in AmiDock itself).

   Report Go to top

Re: New windows bar docky, from OpenAmiga
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1736
@centaurz

Quote:

Well, I finally use the Window structure to retrieve a pointer on the task listening to the IntuiMessages (through the window user port). It's probably the way AmiStart does its job too. It works quite well with a lot of programs, but obviously if the GUI handling is deferred to a sub-process, it won't.


Do you handle the case where UserPort can be NULL (WA_IDCMP set to 0)? Also it might be a good idea to check that (mp_Flags & PF_ACTION) == PA_SIGNAL. If it's PA_SOFTINT mp_SigTask will be of type (struct Interrupt *) and if it's PA_IGNORE the contents of mp_SigTask are undefined.

   Report Go to top

Re: New windows bar docky, from OpenAmiga
Just popping in
Joined:
2007/9/3 18:27
From France
Posts: 144
@salass00

The UserPort is checked against NULL, but I didn't know about mp_SigTask possibly being an interrupt, so I will fix this, thanks for the tip. However, this is probably not the reason of the crash, since the pointer is used as a key to search the list of processes.

@PEB
If you delete the default preferences (winbar-docky.xml), the crash at reboot doesn't occur ?

@orgin
Thanks for the crash log (the funniest I've seen...). The bug possibly happens when IntuitionBase is locked, hence the big mess. Strange that I don't get it on my machine.
As for the automatic detection of changed titles, I'll look into it.

   Report Go to top

Re: New windows bar docky, from OpenAmiga
Not too shy to talk
Joined:
2006/11/29 1:00
Posts: 449
@centaurz

Quote:
If you delete the default preferences (winbar-docky.xml), the crash at reboot doesn't occur?


No, its not quite that simple. The crash seems to occur only when the "Auto-adjust size" is set for "Width only" or "Yes" ("No" and "Height only" work fine). The "winbar-docky.xml" file needs to be deleted if one of those problem settings were saved to as default.

   Report Go to top


(1) 2 »



[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project