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

Bug: CTRL+C not working when hovering on file tabs

(1/2) > >>

Uwohm9:
Hello,

I have worked a long time with C::B now, and would like to report a bug that is annoying me since the beginning.

Sometimes you want to copy some code from a file to another file, but my habit is:
1) Highlight/select text with mouse
2) Then go with the mouse hovering the file I want to paste my code to
3) And then press CTRL+C

Problem is that the text-cursor stops registering when hovering the mouse on a file like main.cpp.
So if you press CTRL+C when hovering a file with the mouse-cursor, the highlighted content is not paste to the clipboard.

Is this a bug? Or can this be turned off somewhere? Because I can't change my habit, since in other editors I have no problem with this.

Thanks for reading,

Cheers

EDIT:
I think someone should remove the SetFocus() line, when the OnHoveringMouseEvent() function is being activated on the Notebook widget, containing the tab files .cpp/.h/.rc etc.

Pecan:
What OS are you using. What version of CB?

BlueHazzard:

--- Quote ---I think someone should remove the SetFocus() line, when the OnHoveringMouseEvent() function is being activated on the Notebook widget
--- End quote ---

i think this is because you can use the scroll wheel to scroll trough the tabs

Uwohm9:

--- Quote from: Pecan on November 27, 2019, 07:39:30 pm ---What OS are you using. What version of CB?

--- End quote ---

Codeblocks 17.12 and Windows 7

Uwohm9:

--- Quote from: BlueHazzard on November 28, 2019, 07:04:26 pm ---
--- Quote ---I think someone should remove the SetFocus() line, when the OnHoveringMouseEvent() function is being activated on the Notebook widget
--- End quote ---

i think this is because you can use the scroll wheel to scroll trough the tabs

--- End quote ---

Yeah but that should only work when you click a tab, not instantly gain focus when hovering it with your mouse.
But that is my opinion/programming-style (discussable).

Navigation

[0] Message Index

[#] Next page

Go to full version