trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2012

Re: [trinity-devel] Bug 692 - Kate: focus is broken when using the --use parameter

From: Darrell Anderson <humanreadable@...>
Date: Wed, 18 Jan 2012 12:43:30 -0800 (PST)
> Re: For example, after configuring Kate with the --use
> parameter
> 
> Exactly where and how (any quotes, etc) did you set the
> --use
> parameter for Kate.
> 
> Tell me that and I will experiment and see if I have the
> same problem.

Let's see whether I can describe the scenario correctly. :)

I have a kate shortcut button in my quick launch menu. The parameters:

kate --use %u

I don't like editing *.desktop files in $PREFIX (/usr, /opt/trinity, etc.) because a subsequent package update will overwrite those files and my modifications. Therefore long ago I got into the habit of using $KDEDIRS, which for me is located in my /usr/local partition. In my $KDEDIRS kate.desktop:

Exec=kate --use %U

Okay, now that I pasted that, I see my quick launch button uses a lower case %u and my $KDEDIRS kate.desktop uses an upper case %U. Hmm. Does that make any difference? I don't know --- I'll look into that.

Back to the discussion.

I have my Focus stealing prevention level set to Low (KControl, Desktop, Window Behavior, Advanced tab.)

Open kate any which way. Open a text file.

Then in Konqueror, find another text file and open the file in kate.

Does kate pop forward? Does kate have the focus?

When I temporarily change my Focus stealing prevention level to None, which raises havoc with other desktop usage, then kate will pop forward but will not have the focus.

Just to be sure we are using terms the same, focus means the title bar is highlighted with the user's selected color and not grayed.

Let me know how things behave on your system. I'll be happy to hear you have none of those problems. That would mean something awry with my configuration.

Darrell