Author Topic: wxAuiNotebook introduction in TRUNK  (Read 37698 times)

Online ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5403
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: wxAuiNotebook introduction in TRUNK
« Reply #15 on: July 11, 2009, 03:23:50 am »
Hi, all.
I found that the context menu item like

clear content
copy content to clipboard
....

was lot in the new AUI version. see  the screen shot


By ollydbg at 2009-07-10
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5300
Re: wxAuiNotebook introduction in TRUNK
« Reply #16 on: July 11, 2009, 09:58:53 am »
could you file this one in our bug tracker. Serious issue I would say.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7254
Re: wxAuiNotebook introduction in TRUNK
« Reply #17 on: July 11, 2009, 10:11:11 am »
Hi, all.
I found that the context menu item like

clear content
copy content to clipboard
....

was lot in the new AUI version. see  the screen shot

This is not correct (at least not at my windows build).

They are gone from the tabs context-menu (they never belonged there in my opinion, but that's another thing), but they are still available in the client area of the notebook-page.

Now the context-menus behave more or less the same way on linux and windows.

EDIT:

but I see now the Code::Blocks and Code::Blocks debug all TextCtrlLogger pages only have the standard windows context-menu for text areas. I don't know if this is new with wxAui or if it worked different before.

EDIT2:

just tested with 8.02-release: was the same on windows (only wxTextCtrl-standard context menus).
« Last Edit: July 11, 2009, 01:13:46 pm by jens »

Online ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5403
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: wxAuiNotebook introduction in TRUNK
« Reply #18 on: July 11, 2009, 04:22:20 pm »
I have fired a bug report in BerliOS.

By the way, it works ok in the last official nightly build, see the screen shot:


By ollydbg at 2009-07-11
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7254
Re: wxAuiNotebook introduction in TRUNK
« Reply #19 on: July 12, 2009, 05:47:37 pm »
Should be fxed in trunk and cc-branch.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2319
Re: wxAuiNotebook introduction in TRUNK
« Reply #20 on: July 13, 2009, 12:49:57 am »
I cannot seem to solve this ugly text formatting problem since the merge of wxAUINotebook.



Does anyone else have this problem?

I restored wxScintilla to the version before the merge. So it appears to be a AUI effect.

Any suggestions on where to look?


Online ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5403
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: wxAuiNotebook introduction in TRUNK
« Reply #21 on: July 13, 2009, 04:21:23 am »
what is the ugly text formatting problem? I can't see any ugly format from your image..

@Jens
Thanks for the fix!!! works fine now!
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2319
Re: wxAuiNotebook introduction in TRUNK
« Reply #22 on: July 13, 2009, 05:01:16 am »
what is the ugly text formatting problem? I can't see any ugly format from your image..

Note that only the text has a background color.

The underlying page is white.

The background of the whole page should be the same color as the text background. As it was before the addition of wxAuiNotebook.


Offline stahta01

  • Lives here!
  • ****
  • Posts: 7191
    • My Best Post
Re: wxAuiNotebook introduction in TRUNK
« Reply #23 on: July 13, 2009, 05:34:44 am »
what is the ugly text formatting problem? I can't see any ugly format from your image..

Note that only the text has a background color.

The underlying page is white.

The background of the whole page should be the same color as the text background. As it was before the addition of wxAuiNotebook.



I can confirm difference between SVN 5678 and SVN 5689.

To duplicate:

Settings -> Editor
Syntax Highlighting
Change "background" color for "Default"

Note: The effect shows in example window below settings.

Tim S

[attachment deleted by admin]
« Last Edit: July 13, 2009, 05:40:44 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7254
Re: wxAuiNotebook introduction in TRUNK
« Reply #24 on: July 13, 2009, 12:57:32 pm »
The background-colouring issue should be fixed in trunk and cc-branch.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2319
Re: wxAuiNotebook introduction in TRUNK
« Reply #25 on: July 13, 2009, 02:47:58 pm »
The background-colouring issue should be fixed in trunk and cc-branch.

Thank you!

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: wxAuiNotebook introduction in TRUNK
« Reply #26 on: July 13, 2009, 03:37:57 pm »
I would kill for a good stack-based ("most recent first") tab switcher. In other words, every time a tab is activated it moves to the top of the stack; Ctrl+Tab(x1) selects the previously active tab, Ctrl+Tab(x2) selects the one active before that, and so on. Just like Windows XP's Alt+Tab switcher.

Hopefully someone who is already familiar with that part of the sources can do this, because it would take me a while to come up with a good patch (and even then it probably wouldn't work cross-platform).
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Online ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5403
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: wxAuiNotebook introduction in TRUNK
« Reply #27 on: July 13, 2009, 04:05:56 pm »
I would kill for a good stack-based ("most recent first") tab switcher. In other words, every time a tab is activated it moves to the top of the stack; Ctrl+Tab(x1) selects the previously active tab, Ctrl+Tab(x2) selects the one active before that, and so on. Just like Windows XP's Alt+Tab switcher.

Hopefully someone who is already familiar with that part of the sources can do this, because it would take me a while to come up with a good patch (and even then it probably wouldn't work cross-platform).

Is "browsetracker plug-in" already do the similar thing? Just use "alt+left arrow" or "alt+ right arrow" to switch between different tabs. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: wxAuiNotebook introduction in TRUNK
« Reply #28 on: July 13, 2009, 04:43:51 pm »
You might see it as similar, but it's not at all the same thing. I want to be able to tab among open files in most-recently-visible order; the BrowseTracker plugin, as I understand it, keeps a full history, so if I switch back and forth between 2 tabs several times, I'll then have to hit the shortcut keys many more times in order to get to a tab I haven't activated in a while.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13439
    • Travis build status
Re: wxAuiNotebook introduction in TRUNK
« Reply #29 on: July 13, 2009, 07:36:20 pm »
TDragon: This is a limitation in wxAUI, so it can't be done without brutal-nasty HACKs :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]