KDE/kdevplatform/plugins/quickopen
David Nolden
david.nolden.kdevelop at art-master.de
Sun Jun 21 19:44:22 UTC 2009
Am Sonntag 21 Juni 2009 21:05:55 schrieb Andreas Pakulat:
> On 21.06.09 02:37:28, David Nolden wrote:
> > SVN commit 984556 by zwabel:
> >
> > When ESC is pressed, close the opened quickopen list, and move focus back
> > into the editor
>
> Three things regarding the new lineedit:
>
> - Can you move the focus "elsewhere" even if there's no editor? i.e. set
> focus onto the main window? Its a bit annoying that if I press ESC (no
> editor open), switch to a nother app I see the "Quick Open" gray text,
> but when focus goes back to kdevelop the dropdown is opened again.
Not sure where to put the focus then, and how.. there's unfortunately no
setFocus(false). :)
> - Can we get a shortcut to directly move focus into the line? Or is this
> purely intended for mice-users? (I'm personally also fine with using
> the standalone dialog)
There already is: CTRL+ALT+e. Since this feels a lot better than the
standalone dialogs during using, I guess we should always use this line
instead of standalong dialogs, given that the line is visible. But first the
outstanding focus issues need to be solved(Clicking the dropdowns doesn't work
properly yet)
> - You said on IRC that the line-edit expands to the right. It seems to
> me thats style-dependant. I'm using QtCurve here and the lineedit is
> large enough, but doesn't expand until the right end of the
> mainwindow. Its almost as long ast the main toolbar without an editor
> open (i.e. with only our actions and none from kate)
> Hmm, I also get the same length when changing the style during
> runtime...
I've given it some size constraints, so it should be between 400 and 200.
Probably that's still too big, given that you usually just type a few
characters in there.
If you want it to be totally on the right, you have to move it completely to
the right once manually. From then on, if you make the window smaller, the
toolbar will automatically move it so it still has its minimum size. We would
need some way to force this line-edit, at least initially, completely to the
right.
Greetings, David
More information about the KDevelop-devel
mailing list