Author Topic: The 12.11 RC1 (11 November 2012 build 8549) is out.  (Read 232439 times)

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #75 on: November 20, 2012, 07:38:02 pm »
I can't actually replicate the issue... What is the problem that this is solving? (and how do I reproduce?)
- have a project with many files (with dummy content)
- run a "Replace in files" operation
- make sure things get replaces and e.g. editors are open whose content is updated
-> after the operation has finished (and editors were opened) C::B seems like "dead", an UI refresh seems missing.

Thanks. I can replicate the issue but the patch doesn't appear to fix. (Perhaps opening the new window while the UI is frozen causes a problem with something like AUI?) Why do we need to freeze the app anyway?

Offline Folco

  • Regular
  • ***
  • Posts: 343
    • Folco's blog (68k lover)
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #76 on: November 20, 2012, 07:58:46 pm »
When I run a project from CB (the green arrow in the compiler toolbar), and that I kill this program, I can't stop the debuger anymore.
I get that :

The red cross of the compiler toolbar doesn't work, and the icons of the dbg one bring the dialog box you see.
The only way to stop the debuger is to stop CB.

I get that with Win 7 64b, MinGW (not the one provided with CB) and gcc 4.7.2.
Kernel Extremist - PedroM power ©

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #77 on: November 20, 2012, 08:41:22 pm »
Why do we need to freeze the app anyway?
Yes, that came to my mind, too. Initially it was done to speed up things - but I think a Hide() / Show() call instead might be better... Can you try tat?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline raynebc

  • Almost regular
  • **
  • Posts: 217
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #78 on: November 20, 2012, 09:03:47 pm »
Since it's been this way for a while, I figured I'd mention it since this is a release candidate:  Often, I notice that when building my project, the build log display doesn't refresh properly, I have to toggle it off and then back on with F2 and then it will display its progress.

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #79 on: November 20, 2012, 09:08:47 pm »
Why do we need to freeze the app anyway?
Yes, that came to my mind, too. Initially it was done to speed up things - but I think a Hide() / Show() call instead might be better... Can you try tat?

It works but it's a little weird visually to have the app disapper then come back. (Just dropping the Freeze/Thaw also works, but I guess it could be really slow if there were a huge number of changes)

Changing topic: opening and closing the CB project file is still slow as molasses... Are we not touching this until after release?

Offline raynebc

  • Almost regular
  • **
  • Posts: 217
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #80 on: November 20, 2012, 09:13:35 pm »
I've also noticed that if the cursor is not close enough to the center of the visible portion of the file window (ie. no more than 4 lines away from the top/bottom), pressing any of various keys (SHIFT, ALT, CTRL, CAPS_LOCK) causes the window to scroll one line at a time moving the cursor toward the center of the screen.  Is this a feature I can turn off?

Offline Folco

  • Regular
  • ***
  • Posts: 343
    • Folco's blog (68k lover)
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #81 on: November 21, 2012, 11:51:30 am »
Same bug here (Win 7 64b), but not on Linux (Squeeze, Jens'packages).
Kernel Extremist - PedroM power ©

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #82 on: November 21, 2012, 11:59:34 am »
What file window are you talking about?
(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!]

Offline Folco

  • Regular
  • ***
  • Posts: 343
    • Folco's blog (68k lover)
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #83 on: November 21, 2012, 12:10:04 pm »
The edition window.
1. Put the edition cursor somewhere in the editing zone
2. Scroll up to make the cursor disappear at the bottom of the screen
3. Press the Ctrl key, it should scroll down line-by-line until the cursor appears in the editing zone
Kernel Extremist - PedroM power ©

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #84 on: November 21, 2012, 12:46:03 pm »
Doesn't happen to me, I'm using the latest rev on Linux.  ::)
(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!]

Offline Folco

  • Regular
  • ***
  • Posts: 343
    • Folco's blog (68k lover)
Kernel Extremist - PedroM power ©

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #86 on: November 21, 2012, 03:54:34 pm »
I've also noticed that if the cursor is not close enough to the center of the visible portion of the file window (ie. no more than 4 lines away from the top/bottom), pressing any of various keys (SHIFT, ALT, CTRL, CAPS_LOCK) causes the window to scroll one line at a time moving the cursor toward the center of the screen.  Is this a feature I can turn off?
The EditorTweaks plugin tries to keep the position in the editor away from the edges. It scrolls one line up/down (when needed) based on a calculation every keypress.  Disabling the EditorTweaks plugin is currently the only method to turn off this check.

The edition window.
1. Put the edition cursor somewhere in the editing zone
2. Scroll up to make the cursor disappear at the bottom of the screen
3. Press the Ctrl key, it should scroll down line-by-line until the cursor appears in the editing zone
This has already been fixed in the trunk, see revision 8580.
Doesn't happen to me, I'm using the latest rev on Linux.  ::)
Which is why you would not see it in the latest revision ;).

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #87 on: November 21, 2012, 04:32:10 pm »
I've also noticed that if the cursor is not close enough to the center of the visible portion of the file window (ie. no more than 4 lines away from the top/bottom), pressing any of various keys (SHIFT, ALT, CTRL, CAPS_LOCK) causes the window to scroll one line at a time moving the cursor toward the center of the screen.  Is this a feature I can turn off?
The EditorTweaks plugin tries to keep the position in the editor away from the edges. It scrolls one line up/down (when needed) based on a calculation every keypress.  Disabling the EditorTweaks plugin is currently the only method to turn off this check.

What is this?

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #88 on: November 21, 2012, 04:50:01 pm »
Patch 3354 added this action.  Try typing a bunch of new lines, or holding backspace to delete a bunch of lines, or moving the caret with the arrow keys.  (Assuming EditorTweaks is enabled) the editor will scroll every time you get close to the top/bottom, so that a buffer of several lines of text will always be visible (so you can see the upcoming context, and are never working blindly on the bottom line of the editor).

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: The 12.11 RC1 (11 November 2012 build 8549) is out.
« Reply #89 on: November 21, 2012, 04:58:27 pm »
Patch 3354 added this action.  Try typing a bunch of new lines, or holding backspace to delete a bunch of lines, or moving the caret with the arrow keys.  (Assuming EditorTweaks is enabled) the editor will scroll every time you get close to the top/bottom, so that a buffer of several lines of text will always be visible (so you can see the upcoming context, and are never working blindly on the bottom line of the editor).

So judging by the complaints it would be better if it (a) only responded to key presses that add or remove characters in the editor, and/or (b) had a menu toggle?