User forums > Nightly builds
The 12 october 2006 build is out.
killerbot:
--- Quote from: eranif on October 15, 2006, 11:25:15 pm ---
--- Quote ---1 *important* change in wxFlatNotebook.cpp : the comment where the boss's name is mentioned "Yiannis".
In your sources it's misspelled ... we don't want to get the Don angry Wink
--- End quote ---
I could not find it in my sources ... maybe I deleted it by accident? :oops:
just give me the line number and source (and the comment) and I will add it again ...
Eran
--- End quote ---
line 1189 :
--- Code: --- // Thanks to Yiannis AKA Mandrav
--- End code ---
tiwag:
--- Quote from: severach on October 16, 2006, 05:59:00 am ---
--- Quote from: tiwag on October 15, 2006, 05:22:56 am ---it does nothing until you select any project in the project manager pane.
--- End quote ---
"Add Files.." works anytime and "Remove Files..." only works when a project is selected. That discontinuity is why I didn't look any further. Add, Add Recursively, and Remove must behave exactly the same. You have some options:
1 All grayed out when a project is not selected
2 All available when a workspace contains exactly one project even if it isn't selected
3 An irritating dialog is displayed telling me to click on something or other before trying again.
4 Both always apply to the project that is currently active. There is no need to select it. The options were never greyed out or non working before because there must always be an active project and what does active mean anyways if not that?
I prefer #4 because that's the way Add already works. If I want to add to a project other than the active one I can right click.
--- End quote ---
write a bugreport to berlios if you can't live with that behaviour ...
mandrav:
--- Quote from: eranif on October 14, 2006, 08:44:39 pm ---wxFlatNotebook V2.1 is released and can be downloaded from SF.
<snip>
Not accepted:
- AddPage, InsertPage - Not accepted, I am not sure if it is needed anymore. However, I DO know
that a invisible tab must have -1, -1 position set. So far I did not get any drawing
artifacts, can you guys check and tell me if it still exists?
--- End quote ---
Now that killerbot has updated our copy of wxFNB to v2.1, I saw (and remembered) what this SetPosition() was supposed to fix.
You can look yourself in C::B messages wxFNB. Suppose that when you close C::B, the "Build log" is the active page. When C::B starts up again, it tries to re-activate the last-active page (the "Build log" in this case). It succeeds doing that but notice what happens without the SetPosition(): The "Build log" is activated but it is set as the first visible tab. One needs to scroll back to see the other tabs.
With the SetPosition() patch, the active tab does not become the first visible too.
At least that's what I remember :).
eranif:
I agree with this behavior, and I can confirm it.
BUT, using your solution causes another problem:
When I open the demo, and typing Ctrl+N a new page is added
and set as selected.
Now, when the room for drawing tabs is full, and scrolling is needed, the active tab is not visible until the next Ctrl+N !
in other words, your solution affects the visibility of the selected tab in other cases.
I still think that the behavior you descrivbed is a bug, and I will find another way to solve it.
With regards,
Eran
eranif:
Ok, I compared the behavior you described with other application I wrote, and the desired solution is to place the selected tab as last (incase it cant fit into the screen)
I will let you guys know when a fix is ready,
Eran
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version