[kdevplatform] plugins/projectmanagerview: Enforce setting focus to the document tree view when opening a document

Niko Sams niko.sams at gmail.com
Thu Jan 16 08:16:54 UTC 2014


On Tue, Dec 24, 2013 at 12:25 PM, Sven Brauch <svenbrauch at googlemail.com> wrote:
> Hi!
>
> On Tuesday 24 December 2013 11:40:17 you wrote:
>> One thought: would it make sense to set the focus onto the editor on
>> doubleclick? that was the previous behavior.
>> (personally I don't care much)
> Not sure ... I'd suggest to wait until someone complains, then we can do that
> ;)
> I don't need it.
I have to complain now :D

My use case:
I want to copy the contents of file A to file B.
- doubleclick file A
- Ctrl+A to select whole file
- Ctrl+C to copy selection (does copy file as focus is on ProjectView)
- doubleclick file B
- Ctrl+V to paste selection (pastes file name into file B, tough focus
is on ProjectView)

There are two issues:
- the Ctrl+C doesn't work as the focus is in ProjectView (this is
caused by Sven's setFocus change - which I asked for in the first
place :D)
- the Ctrl+V is also catched by Kate (different issue but also annoying)


What do you think?

Niko


More information about the KDevelop-devel mailing list