Clipboard stability issue.

CodeLite installation/troubleshooting forum
coltan
CodeLite Curious
Posts: 4
Joined: Sat Aug 08, 2015 9:56 am
Genuine User: Yes
IDE Question: C++
Contact:

Clipboard stability issue.

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Clipboard stability issue.

Post by eranif »

Can you be more specific?
I don't experience any the problems you are mentioning ...
How can I reproduce the problem?

Eran
Make sure you have read the HOW TO POST thread
coltan
CodeLite Curious
Posts: 4
Joined: Sat Aug 08, 2015 9:56 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Clipboard stability issue.

Post 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.
fueler
CodeLite Enthusiast
Posts: 17
Joined: Sun May 26, 2013 9:22 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Clipboard stability issue.

Post 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.
coltan
CodeLite Curious
Posts: 4
Joined: Sat Aug 08, 2015 9:56 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Clipboard stability issue.

Post by coltan »

Cheers, its quite an irritating bug.

That should help the designers find it.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Clipboard stability issue.

Post 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
Make sure you have read the HOW TO POST thread
fueler
CodeLite Enthusiast
Posts: 17
Joined: Sun May 26, 2013 9:22 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Clipboard stability issue.

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Clipboard stability issue.

Post 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?
Make sure you have read the HOW TO POST thread
fueler
CodeLite Enthusiast
Posts: 17
Joined: Sun May 26, 2013 9:22 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Clipboard stability issue.

Post 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!
coltan
CodeLite Curious
Posts: 4
Joined: Sat Aug 08, 2015 9:56 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Clipboard stability issue.

Post by coltan »

Downloaded 8.2.1
Everything seems to be working OK.

Thanks for the Quick response.
Post Reply