Page 1 of 1
Clipboard stability issue.
Posted: Sat Aug 08, 2015 10:10 am
by coltan
Issue = IDE
Problem = Cut/Paste (Clipboard) between tabs. Unstable.
Codelite Version = 8.2.0
Install Type = Windows Binary
OS Type = Windows 8.1
Re: Clipboard stability issue.
Posted: Sat Aug 08, 2015 10:13 am
by eranif
Can you be more specific?
I don't experience any the problems you are mentioning ...
How can I reproduce the problem?
Eran
Re: Clipboard stability issue.
Posted: Sun Aug 09, 2015 6:28 am
by coltan
It does not seem to happen all the time. (unstable). This error does not happen in other IDE.
When i cut text from 1 tab and try to paste it to another empty tab, it wont paste.
Had to go back to other tab and re-select cut, and try to paste again.
I will look more into the error for you and send the exact details.
Error just happened.
Copying selected text and pasting it to another tab wont work.
Pasting the same selected to notepad worked. (clipboard might be ok).
Feel free to message email me for more details. or email me.
Re: Clipboard stability issue.
Posted: Sun Aug 09, 2015 8:02 am
by fueler
I found a way to reproduce part of this issue.
Step 1:
Tab 1: file1.cpp
Highlight text you want to copy
Step 2:
Tab 2: file2.cpp
Highlight text you want to copy and ctrl-C
Step 3:
Tab 1: file1.cpp
ctrl-C to copy the highlighted text
Step 4:
Tab 3: file3.cpp
Paste using ctrl-C
At this point contents from file1.cpp should have been copied but contents from file2.cpp are copied.
Workaround: Go back to file1.cpp and rehighlight text and now ctrl-C, copy, works as expected.
Re: Clipboard stability issue.
Posted: Sun Aug 09, 2015 12:16 pm
by coltan
Cheers, its quite an irritating bug.
That should help the designers find it.
Re: Clipboard stability issue.
Posted: Sun Aug 09, 2015 8:27 pm
by eranif
this looks like a focus issue and not really a clipboard issue.
When you move between the tabs by clicking on the tab label, the focus is _not_ set to the editor (i.e. you don't see the caret blinking)
so basically, your Ctrl-C does not work
The fix should be to make sure that the editor received the focus when selecting a file
Running your example, but this time using Ctrl-TAB to navigate between the tabs does not show this problem
Eran
Re: Clipboard stability issue.
Posted: Sun Aug 09, 2015 9:56 pm
by fueler
Good news then, thank you!
Side topic with the tabs themselves with regards to focus, I thought there was a X on each of them to close. However, I have to click on the tab then right-click to bring up menu to close. Right now if I right-click on another tab not in focus the menu does not pop up. I remember this working in the past.
Re: Clipboard stability issue.
Posted: Sun Aug 09, 2015 10:09 pm
by eranif
no, this never worked. right click is always set for the active tab. why not use mouse scroll button to close? or ctrl-w?
Re: Clipboard stability issue.
Posted: Sun Aug 09, 2015 11:27 pm
by fueler
Forgive me then. I've been testing so many IDEs for work on this new project, large codebase; majority of current developers still use vim with plugins. I must have gotten confused with others. Mouse scroll button works to close. Consider side topic closed. =] Thank you!
Re: Clipboard stability issue.
Posted: Tue Aug 18, 2015 1:03 pm
by coltan
Downloaded 8.2.1
Everything seems to be working OK.
Thanks for the Quick response.