News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

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

Started by Uwohm9, November 27, 2019, 01:56:58 PM

Previous topic - Next topic

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


BlueHazzard

QuoteI think someone should remove the SetFocus() line, when the OnHoveringMouseEvent() function is being activated on the Notebook widget

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

Uwohm9


Uwohm9

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

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

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).

oBFusCATed

I think you can disable this in "Settings -> Environment -> Notebook appearance -> Enable scrolling with mouse wheel"
(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!]

Uwohm9

Quote from: oBFusCATed on November 30, 2019, 10:35:31 AM
I think you can disable this in "Settings -> Environment -> Notebook appearance -> Enable scrolling with mouse wheel"

This worked, thanks  :)