News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

C::B title

Started by sethjackson, January 14, 2006, 11:37:18 PM

Previous topic - Next topic

sethjackson

Hmm I noticed something interesting. Open C::B with a project in the recent project history (IE a project is in the start here page list). Then open the project. Now the taskbar looks like this. Start here [project_name]
but the C::B title bar is correct, just not the taskbar icon......  :shock: I hope I said that clearly.......

thomas

Not for me. Either shows "Code::Blocks (wx2..." or the open file's name (if one or more files are open in the layout).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

#2
Quote from: thomas on January 14, 2006, 11:50:10 PM
Not for me. Either shows "Code::Blocks (wx2..." or the open file's name (if one or more files are open in the layout).

Odd. Let me try to explain better.

1. Open C::B, then open the CodeBlocks-NewBuild.cbp project.
2. Make sure no files of the project are open, close the project, then close C::B.
3. Re-Open C::B.
3. Open the project from the Start here page.

The start here page is gone, and the app title says [Code::Blocks (wx2.6)] - Code::Blocks 1.0.
The taskbar icon syas Start here [Code::Blo....
Can you confirm? This is with rev 1760

EDIT: After step three if you close the project the reopen it, the taskbar icon is correct......  :shock:

thomas

Tried using revision 1750.

Taskbar title changes to "Start Here" for half a second and then switches to "Code::Blocks (wx2..." which is the window's title, too.

Don't see a problem.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

Quote from: thomas on January 15, 2006, 05:03:02 PM
Tried using revision 1750.

Taskbar title changes to "Start Here" for half a second and then switches to "Code::Blocks (wx2..." which is the window's title, too.

Don't see a problem.

I think my computer hates me then.... It works correctly if I open the project, close the project, then open again, but not if I only open the project once.  :P Oh well C::B hates me.......  :lol:

sethjackson

#5
EDIT:

Nevermind it seems to be gone with rev 1762......  8) It was probably a Seth problem not a C::B problem.  :P

thomas

Anyway, even if I could reproduce it, I wouldn't know what you'd expect me to do :lol:

We have no influence on the title shown in the task bar. Strictly speaking, we don't even know that there is a task bar or any icons in it.

We tell wxWidgets to tell the OS to change the window's title. Consequently, the window's title is changed.

Whether or not Windows Explorer (or the Gnome panel, or whatever happens to be there) displays another icon and what title that icon might have is beyond our knowledge and power. There is absolutely no way of changing this (or even knowing about).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

Quote from: thomas on January 15, 2006, 08:07:50 PM
Anyway, even if I could reproduce it, I wouldn't know what you'd expect me to do :lol:

We have no influence on the title shown in the task bar. Strictly speaking, we don't even know that there is a task bar or any icons in it.

We tell wxWidgets to tell the OS to change the window's title. Consequently, the window's title is changed.

Whether or not Windows Explorer (or the Gnome panel, or whatever happens to be there) displays another icon and what title that icon might have is beyond our knowledge and power. There is absolutely no way of changing this (or even knowing about).

Yeah I know. I just thought it was weird that the taskbar wasn't getting updated properly and the title was...