Author Topic: Request : C::B View::notebook enhancements  (Read 74179 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Request : C::B View::notebook enhancements
« Reply #30 on: December 12, 2010, 12:35:00 pm »
The second issue is known, it seems the tipwindow "steals" the mouse-button events.
I also saw the first, but only with the first patch if the tipwindow was shown, even if the app was not the foreground application, I will look into it.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Request : C::B View::notebook enhancements
« Reply #31 on: December 12, 2010, 01:02:49 pm »
Another two issues:

1. Changing the desktop using the keyboard (alt+fn in E17) doesn't hide the tooltip
2. Tooltip doesn't show for .wxs files

p.s. if you can fix the TipWindow to not steel the key/mouse input will be great because this is really annoying problem for the debugger :(
p.p.s. is it possible to resend the events to the root window?
(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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Request : C::B View::notebook enhancements
« Reply #32 on: December 12, 2010, 03:14:42 pm »
Updated patch attached (no change of functionality).
Well, I notice another thing (which I thought was due to a background app on my PC when I tried the first time):
1.) The tooltip flickers quite ugly on Windows XP. It seems it's set a "million" times when I keep hovering over the tab. Notice that I don't move the mouse. Probably a little caching (like checking if the old tooltip is the same as the new one) might help...?!
2.) While the tooltip is showing I have no access any longer to the menu using the right mosue button. :-(

Edit: [additional info to 2.)] -> Again this is only, if I don't move the mouse. f I move the mouse a little bit on the tab and press the right mouse button I see the menu. Hence I guess it's because he tooltip is no longer shown in that case.

The second issue is hopefully fixed with this update.
About the first: I cannot reproduce (don't want to boot into XP at the moment), but might also be fixed.

Another two issues:

1. Changing the desktop using the keyboard (alt+fn in E17) doesn't hide the tooltip
2. Tooltip doesn't show for .wxs files

p.s. if you can fix the TipWindow to not steel the key/mouse input will be great because this is really annoying problem for the debugger :(
p.p.s. is it possible to resend the events to the root window?

1. should be fixed (can not reproduce on gnome)
2. I guess it has to be fixed in wxSmith ( comes later, if the other things work correctly)

EDIT:

Patch updated: http://forums.codeblocks.org/index.php/topic,13826.msg93202.html#msg93202
« Last Edit: December 12, 2010, 07:25:00 pm by jens »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Request : C::B View::notebook enhancements
« Reply #33 on: December 12, 2010, 06:41:51 pm »
No1 is fixed, thanks

There is another problem: when I move the mouse the tooltip is not hidden.
Steps to reproduce:
1. Hover on a tab and way the tooltip to show
2. Move the mouse in the direction of the editor.
    The movement should be fast, so no MouseMoved messages are received by the notebook.
    If the mouse is moved horizontally the tooltip disappears as expected.

Probably you have to listen for MouseEnter, MouseLeave events....
(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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Request : C::B View::notebook enhancements
« Reply #34 on: December 12, 2010, 07:23:40 pm »
No1 is fixed, thanks

There is another problem: when I move the mouse the tooltip is not hidden.
Steps to reproduce:
1. Hover on a tab and way the tooltip to show
2. Move the mouse in the direction of the editor.
    The movement should be fast, so no MouseMoved messages are received by the notebook.
    If the mouse is moved horizontally the tooltip disappears as expected.

Probably you have to listen for MouseEnter, MouseLeave events....

Should be fixed with this patch.

EDIT:

Patch updated: http://forums.codeblocks.org/index.php/topic,13826.msg93222.html#msg93222
« Last Edit: December 13, 2010, 02:02:29 pm by jens »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Request : C::B View::notebook enhancements
« Reply #35 on: December 12, 2010, 08:49:56 pm »
Fix confirmed :)
(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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Request : C::B View::notebook enhancements
« Reply #36 on: December 13, 2010, 12:31:50 pm »
Should be fixed with this patch.
Excellent work! Both is fine now. I'd vote for an application to trunk.
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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Request : C::B View::notebook enhancements
« Reply #37 on: December 13, 2010, 02:01:52 pm »
Should be fixed with this patch.
Excellent work! Both is fine now. I'd vote for an application to trunk.

If there are no objections from other devs, I will do it this evening.

Anyway here is an updated patch, that also shows project for wxSmith-, hexeditor-, xpmeditor-, etc.-files, and updates the projectname in tooltip, if the project gets renamed via properties-dialog.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Request : C::B View::notebook enhancements
« Reply #38 on: December 14, 2010, 11:34:06 am »
Committed as svn r6896

Offline daniloz

  • Regular
  • ***
  • Posts: 268
Re: Request : C::B View::notebook enhancements
« Reply #39 on: December 14, 2010, 12:15:04 pm »
Wonderful !!! I really like it, nice job...

The only thing I found is that after the tool-tip is shown, no keyboard shortcuts are working anymore... I mean, you just wait for the tool-tip to shown and then try F2, F9 or F11 and nothing happens....

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Request : C::B View::notebook enhancements
« Reply #40 on: December 14, 2010, 12:24:30 pm »
It is know and discussed problem (see in the previous posts).
And unfortunately it is not easily fixable.
(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 oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Request : C::B View::notebook enhancements
« Reply #41 on: December 14, 2010, 03:38:42 pm »
Jens (as our auiNotebook specialist): I have another feature request:

The problem is:
1. open tabs, so that all tabs can't be visible at the same time
2. scroll to the last tab
3. close the last tab
4. the tabs on the left of the last tab don't move.

Is it possible to make tabs on the left move to the right
(the notebook will behave like the one in firefox for example)?
(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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Request : C::B View::notebook enhancements
« Reply #42 on: December 16, 2010, 03:42:10 pm »
Jens (as our auiNotebook spe[spammer]t): I have another feature request:

The problem is:
1. open tabs, so that all tabs can't be visible at the same time
2. scroll to the last tab
3. close the last tab
4. the tabs on the left of the last tab don't move.

Is it possible to make tabs on the left move to the right
(the notebook will behave like the one in firefox for example)?

I will attach a patch later this day (or tomorrow), that moves the active tab to the rightmost position, after another tab has been closed.
That's not exactly, what you asked for, but it's a starting point.
It will be  mixed with this patch: http://forums.codeblocks.org/index.php/topic,13862.msg93310.html#msg93310

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Request : C::B View::notebook enhancements
« Reply #43 on: December 16, 2010, 05:10:14 pm »
Jens (as our auiNotebook spe[spammer]t): I have another feature request:
I'm not sure how this happened. I meant spe-ci-a-list, not spammer and I hope I've not offended you Jen :)

I'm waiting for the patch and I'll test is as soon as available :)

p.s. there is something wrong in the forum :(
(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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Request : C::B View::notebook enhancements
« Reply #44 on: December 16, 2010, 05:25:00 pm »
Jens (as our auiNotebook spe[spammer]t): I have another feature request:
I'm not sure how this happened. I meant spe-ci-a-list, not spammer and I hope I've not offended you Jen :)

I'm waiting for the patch and I'll test is as soon as available :)

p.s. there is something wrong in the forum :(
It's our (new) antispam module, it reconizes c i a l i s as spam (something like v i a g r a), it should not do it inside a word.
By the way: my nickname is like my real name Jens.
The patch comes after some more cleanup.