title bar content

Post any comments, suggestions, annoyances or ideas for future releases here. Please do not post bug reports or questions here.
Post Reply
omer kircher
Posts: 39
Joined: Wed Oct 27, 2004 5:37 am

title bar content

Post 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
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
HardyPill
Posts: 13
Joined: Wed Feb 09, 2005 12:58 pm
Location: Germany

Post 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
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
omer kircher
Posts: 39
Joined: Wed Oct 27, 2004 5:37 am

Post 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
omer kircher
Posts: 39
Joined: Wed Oct 27, 2004 5:37 am

Post 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
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
HardyPill
Posts: 13
Joined: Wed Feb 09, 2005 12:58 pm
Location: Germany

Post 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
Last edited by HardyPill on Thu Mar 29, 2007 7:04 am, edited 1 time in total.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post 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
HardyPill
Posts: 13
Joined: Wed Feb 09, 2005 12:58 pm
Location: Germany

Post by HardyPill »

Hi Jussi !

Thank you for rolling back this functionality ...

Regards
Michael
Post Reply