Page 1 of 1

title bar content

Posted: Thu Feb 15, 2007 10:50 pm
by omer kircher
jussi:

sometimes i want to have several documents open in separate copies of zeus.

the title bars contain "Zeus for Windows - [full path name].

on the task bar, all i can see is "Zeus for Wind..." which is not as helpful as it could be.

i would like to see this changed to "Zeus - [file name only]" or "file name only".

perhaps you could have an option as to whether the full path or the file name only is displayed.

omer

Posted: Mon Feb 19, 2007 1:48 am
by jussij
Hi Omer,

From what I can tell, there is no way in Win32 to fully control the taskbar text. From what I can tell the taskbar automatically adds the - and [] characters to this text :(

But I think it should be possible to implement something like this.

When a workspace is open the Zeus taskbar text will read as follows:
workspace - [short file name]
When no workspace is open the Zeus taskbar text will read as follows:
Zeus for Windows - [short file name]
So the plan is to implement this taskbar text behaviour while maintaining the current title text format ;)

Cheers Jussi

Posted: Wed Feb 28, 2007 3:13 pm
by HardyPill
Hi Jussij !

I've installed the patch 3.96c now. The Zeus taskbar (Zeus window title) now seems to be modified. But for me there no rule to see. In general I'm working with an opened workspace. Sometimes the title of my Zeus window is like
workspace - [short file name]
- as you planned to assign if a workspace is opened, sometimes it's like
Zeus for Windows - [short file name]
- as you planned to assign if NO workspace is opened, sometimes it's like
- [short file name]
And the window title changes during work with Zeus without changing anything on workspace !
For me there is no clear behaviour of this feature to see :?:

Can you verify this please.

Regards
Michael

Posted: Wed Feb 28, 2007 10:11 pm
by jussij
But for me there no rule to see.
All that has changed is the text of the Zeus button as found in the Windows taskbar. The text of the Zeus caption should be idebtical to the previous version.

The new rule for the taskbar button text is as follows:

Workspace Open Button Text
workspace-[short name of active file]
No Workspace Open Button Text
Zeus for Windows-[short name of active file]
Cheers Jussi

Posted: Sat Mar 10, 2007 5:10 pm
by omer kircher
jussi:

i have done a little checking on how to change the title bar text. i understand that it is simple if you are using .net framework. otherwise, not so simple.

exactly what language/environment are you using?

omer

Posted: Sat Mar 10, 2007 5:36 pm
by omer kircher
jussi:

probably you know all about this, but i just found that there is a win32 function named setwindowtext that can be used to set title bar text. under exactly what circumstances, i don't know.

omer

Posted: Sun Mar 11, 2007 10:37 pm
by jussij
Hi Omer,
probably you know all about this, but i just found that there is a win32 function named setwindowtext that can be used to set title bar text. under exactly what circumstances, i don't know.

The Zeus caption text has always been defined as follows:
Workspace Name - Zeus for Windows - [long file name of active document]
While this works fine for the caption bar as there is plenty of room to display the text, this causes problems for the taskbar button text since the button has much less text space available.

I did eventually managed find a way to independently control the caption text and taskbar text, so I have some control over what gets put into the taskbar button text. The only restriction is that windows formats the button text as %s-[%s] so I don't have full control of the button text.

What I decided on was:
Zeus Caption Text
Workspace Name - Zeus for Windows - [long file name of active document]
Taskbar Button Text - Workspace Open
workspace-[short file name of active file]
Taskbar Button Text - No Workspace Open
Zeus for Windows-[short file name of active file]
While I think this is the best use of these text areas, I am open to other suggestions ;)

Cheers Jussi

Posted: Mon Mar 12, 2007 11:35 am
by HardyPill
Hi Jussij !

I only can repeat my statement from Wed Feb 28, 2007: There is a strange behaviour with the title bar and the taskbar button content.

Should there be a difference between window title text and taskbar button text? Not at my installation !

Please check again, otherwise maybe it's possible to have it configurable, so that the user can select the 'old' or the 'new' type of title assignment.

Best regards

Michael

Posted: Tue Mar 20, 2007 6:21 am
by jussij
This bug is hopefully fixed in the latest Zeus patch found here:

http://www.zeusedit.com/forum/viewtopic.php?t=1075

If this is not the case please provide details of the steps you take to get the taskbar in the state shown, as I have not been able to replicate this issue with the latest Zeus release :?

Cheers Jussi

Posted: Thu May 17, 2007 3:39 am
by jussij
Hi Michael,
I only can repeat my statement from Wed Feb 28, 2007: There is a strange behaviour with the title bar and the taskbar button content.
I have finally realised what is causing all the confusion :wink:

If you run XP with the Windows Classic Style Zeus works as described above. But if you run XP using the Windows XP Style then the taskbar and the Zeus title bar both no longer work :(

Since this behaviour seems to be total unpredictable and in the hands of the Microsoft developers, this latest title and the taskbar change will need to be backed out and the behaviour left up to Windows itself :(

Cheers Jussi

Posted: Mon May 28, 2007 4:06 am
by jussij
The latest Zeus patch rolls back this functionality to standard Windows behaviour: http://www.zeusedit.com/forum/viewtopic.php?t=1173

Cheers Jussi

Posted: Tue May 29, 2007 3:54 pm
by HardyPill
Hi Jussi !

Thank you for rolling back this functionality ...

Regards
Michael