News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Request : C::B View::notebook enhancements

Started by earlgrey, December 08, 2010, 07:01:47 AM

Previous topic - Next topic

MortenMacFly

Quote from: nanyu on June 07, 2011, 10:17:32 AM
I have a "half finished" work about "tab on left/right".
Is the code useful?
What component is modified? You can post a patch anyways to try...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

The notebook enhancements are pretty good, but there is one thing that is really annoying.
The problem is that when I click on a tab, the tab/notebook control gets the focus.
This means that all subsequent key presses (left/right arrow, home, end) are handled by the notebook, not the editor.

This is very annoying because, when I click on a tab, my intention is to work with the file in that tab,
not to use the keys to switch tabs or go to the first tab.

Jens, do you think this can be fixed?

Steps:
1. Open many files
2. Click on a tab
3. Press home
4. The result is that the first tab is selected and the notebook is switched to it. What should have happened is to go to to the beginning of the file.
(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!]

Jenna

Quote from: oBFusCATed on August 30, 2011, 09:34:02 AM
The notebook enhancements are pretty good, but there is one thing that is really annoying.
The problem is that when I click on a tab, the tab/notebook control gets the focus.
This means that all subsequent key presses (left/right arrow, home, end) are handled by the notebook, not the editor.

This is very annoying because, when I click on a tab, my intention is to work with the file in that tab,
not to use the keys to switch tabs or go to the first tab.

Jens, do you think this can be fixed?

Steps:
1. Open many files
2. Click on a tab
3. Press home
4. The result is that the first tab is selected and the notebook is switched to it. What should have happened is to go to to the beginning of the file.
This should be possible, but would lead to problems on windows, where I force the focus to the tabcontrol, if mousewheelscrolling for tabs is allowed and the mouse-pointer is over the tabs (of course), because otherwise the mousewheel-event is not catched.

oBFusCATed

(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!]

oBFusCATed

Another enhancement request:

Steps to reproduce:
1. Open many tabs
2. Make the last tab visible and active
3. Double click on the last tab
4. When switched to the minimal perspective the last tab is not at the right of the notebook, but there is empty space. Probably this could be optimized.
(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!]

Jenna

Quote from: oBFusCATed on October 19, 2011, 04:15:23 PM
Another enhancement request:

Steps to reproduce:
1. Open many tabs
2. Make the last tab visible and active
3. Double click on the last tab
4. When switched to the minimal perspective the last tab is not at the right of the notebook, but there is empty space. Probably this could be optimized.
This should not happen (and it used to work correctly, since I added the MinimizeFreeSpace-function in cbAuiNotebook), but I saw this issue also.
I will try to find the cause and fix it.

Jenna

Quote from: jens on October 19, 2011, 04:59:48 PM
Quote from: oBFusCATed on October 19, 2011, 04:15:23 PM
Another enhancement request:

Steps to reproduce:
1. Open many tabs
2. Make the last tab visible and active
3. Double click on the last tab
4. When switched to the minimal perspective the last tab is not at the right of the notebook, but there is empty space. Probably this could be optimized.
This should not happen (and it used to work correctly, since I added the MinimizeFreeSpace-function in cbAuiNotebook), but I saw this issue also.
I will try to find the cause and fix it.

Should be fixed in trunk (svn r 7503).

oBFusCATed

Hm, Jens, is moving a tab with the mousewheel still working?
It doesn't for me. CentOS 5.6, debugger branch 7509.
(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!]

Jenna

#113
Quote from: oBFusCATed on October 21, 2011, 12:43:13 PM
Hm, Jens, is moving a tab with the mousewheel still working?
It doesn't for me. CentOS 5.6, debugger branch 7509.
No, does not work here either.

I did not change anything related to it.
I will look into it.


It still works, sorry.
I tried it in my "Logs & others", but the amount of tabs I have open fits into it exactly, so nothing happens and I just thought, that it is broken.

oBFusCATed

Hm, It works on my gentoo, but doesn't on the centos, I'll check tomorrow again.

On the centos another problem I see is that when I have tabs side by side and I open a new file,
the tab is added to the first notebook, not the active one. And again it works on my gentoo :(
I hate 'stable' distros :(
(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!]