Bug 423430 - Buttons labels in the "replace" field get easily cut off
Summary: Buttons labels in the "replace" field get easily cut off
Status: CONFIRMED
Alias: None
Product: kate
Classification: Applications
Component: search (other bugs)
Version First Reported In: 20.04.2
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-24 09:57 UTC by Michael D
Modified: 2025-06-13 00:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Button labels cut off (30.58 KB, image/png)
2020-06-24 09:57 UTC, Michael D
Details
Right-most buttons falling into search field (21.85 KB, image/png)
2021-03-17 15:12 UTC, Michael D
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael D 2020-06-24 09:57:30 UTC
Created attachment 129629 [details]
Button labels cut off

When doing a replace (Ctrl + R), the button labels get cut off unless the window is very wide. I wonder whether icons could replace them with a tooltip saying exactly what they do? Or perhaps the row's width could be reduced somehow?
Comment 1 Justin Zobel 2020-10-30 03:07:50 UTC
Confirmed on git master.

I think this UI element could do with a re-arrange to be friendlier to smaller window sizes.

Perhaps moving the next/previous buttons as well as the case senstivity/selection-only buttons next to the find/replace input boxes.
Comment 2 Michael D 2021-03-17 15:12:18 UTC
Created attachment 136789 [details]
Right-most buttons falling into search field

I just noticed that this also affects the search field. The right-most buttons fall into the search field as the window narrows.

If I'm not mistaken, with kirigami you can have the buttons merge into a single button (e.g. a hamburger menu) as the window width narrows. Something similar happens to toolbar buttons when you squish a libreoffice window. Would be nice to see something like this for kwrite/kate.
Comment 3 Christoph Cullmann 2022-04-07 21:29:48 UTC
We altered this layout X times.
I think we really are down to a point where the size need is reasonable.
Naturally everything can always be improved.
If somebody steps up to implement it, we can discuss such improvements.
So long I will put this to wish list.

The search & replace works and is usable with reasonable large windows.
Comment 4 Michael D 2022-04-08 12:09:21 UTC
I understand, but it's still not in an acceptable state, if you ask me. I also don't think it should be demoted to a wish since it impacts usability and is poorly designed. The size need being reasonable is what my first screenshot shows is false, but in any case, why should a usable interface depend on a window's width being a certain size when the window is allowed to have a smaller width?

I would suggest replacing text with icons for a start, since that's easy to implement.