https://bugs.kde.org/show_bug.cgi?id=485430

--- Comment #3 from ratijas <m...@ratijas.tk> ---
> Bonus point: highlight only the basename part of the filename, i.e. without 
> the file extension (if one exists) and its dot, like Dolphin does.

The implementation of QLineEdit is quite hardcoded when it comes to selection
management.

- It forcefully deselects text when it loses focus:

    Qt::FocusReason reason = e->reason();
    if (reason != Qt::ActiveWindowFocusReason &&
        reason != Qt::PopupFocusReason)
        deselect();

- and selects all text when it gains the focus back:

        else if (!d->control->hasSelectedText())
            selectAll();

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to