Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Request : C::B View::notebook enhancements

<< < (13/23) > >>

daniloz:

--- Quote from: jens on December 22, 2010, 02:18:21 pm ---I  understood that, but I think it's not really intuitive.
In other applications scrolling with the mousewheel als changes the focus.

--- End quote ---
It's interesting, because I find it so much more intuitive than changing the focus...And I'm sure I've seeing it in some other application,  but I can't remember where... Anyway, just found interesting how what we find intuitive or not is related to our life experience...  8)


--- Quote from: jens on December 22, 2010, 02:18:21 pm ---What do you think about making it configurable:
as default scrolling with mousewheel changes the focus, but with key pressed (I suggest ctrl) we only scroll through the tabs without changing the activated tab.
The default behaviour, without additional key (scrolling and activating or just scrolling) can be made configurable and the additional key also.

--- End quote ---
I like the idea of making it configurable and having a modifying key to change behavior... I'd go for it...

Jenna:

--- Quote from: daniloz on December 22, 2010, 02:29:32 pm ---
--- Quote from: jens on December 22, 2010, 02:18:21 pm ---I  understood that, but I think it's not really intuitive.
In other applications scrolling with the mousewheel als changes the focus.

--- End quote ---
It's interesting, because I find it so much more intuitive than changing the focus...And I'm sure I've seeing it in some other application,  but I can't remember where... Anyway, just found interesting how what we find intuitive or not is related to our life experience...  8)


--- Quote from: jens on December 22, 2010, 02:18:21 pm ---What do you think about making it configurable:
as default scrolling with mousewheel changes the focus, but with key pressed (I suggest ctrl) we only scroll through the tabs without changing the activated tab.
The default behaviour, without additional key (scrolling and activating or just scrolling) can be made configurable and the additional key also.

--- End quote ---
I like the idea of making it configurable and having a modifying key to change behavior... I'd go for it...

--- End quote ---

Here comes an updated patch, that includes your changes, but make it configurable in "Settings -> Environment -> Notebooks appearance" (not the best title for it, but it's not totally wrong there). The text of the radiobuttons might not be optimal, but it's not easy to describe it in a short term (any better ideas are welcome).

The minimize space part works better now (selected tab will not be moved to the rightmost place, if mnot necessary), but works still not good with reordered tabs (drag and drop). An updated patch will come.

EDIT:
patch updated: http://forums.codeblocks.org/index.php/topic,13826.msg94108.html#msg94108

oBFusCATed:
Jens: your patch seems to work well, I think I've not encountered any problems using it...

But I've another feature request:
1. open many tabs
2. enlarge the project manager (on the left side of the editor)
3. select the last opened file
4. shrink the project manager

The result is that there unused space on the notebooks (same as the file closing problem).

MortenMacFly:

--- Quote from: oBFusCATed on January 06, 2011, 02:27:23 am ---Jens: your patch seems to work well, I think I've not encountered any problems using it...

--- End quote ---
I got another one: C::B started to crash since application of this patch in very rare cases that seems to happen when C::B was running in the background and the mouse is hovering over the tab so that it gets "Re-Activated" I don't remember the exact reason though (I accidentally deleted the report file) but it happened more than once. I can (however) not reproduce... :-(

Jenna:

--- Quote from: oBFusCATed on January 06, 2011, 02:27:23 am ---Jens: your patch seems to work well, I think I've not encountered any problems using it...

But I've another feature request:
1. open many tabs
2. enlarge the project manager (on the left side of the editor)
3. select the last opened file
4. shrink the project manager

The result is that there unused space on the notebooks (same as the file closing problem).

--- End quote ---
I will see what can be done.


--- Quote from: MortenMacFly on January 06, 2011, 06:52:13 am ---
--- Quote from: oBFusCATed on January 06, 2011, 02:27:23 am ---Jens: your patch seems to work well, I think I've not encountered any problems using it...

--- End quote ---
I got another one: C::B started to crash since application of this patch in very rare cases that seems to happen when C::B was running in the background and the mouse is hovering over the tab so that it gets "Re-Activated" I don't remember the exact reason though (I accidentally deleted the report file) but it happened more than once. I can (however) not reproduce... :-(

--- End quote ---

I try to reproduce it on win7, but if the app is not active, the dwell-timer should return (after destroying tooltips if they still exist).
MouseEnter and MouseLeave events should not be triggered if the app is not active and therefore does not have the focus, but that might happen anyways, I will try to debug it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version