Bug 503081 - ctrl+F Search box in Kate lacks padding
Summary: ctrl+F Search box in Kate lacks padding
Status: CONFIRMED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.0
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-20 21:15 UTC by elydgolden
Modified: 2025-07-20 19:10 UTC (History)
3 users (show)

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


Attachments
Search (50.26 KB, image/png)
2025-04-20 21:15 UTC, elydgolden
Details
Search + Replace (58.56 KB, image/png)
2025-04-20 21:16 UTC, elydgolden
Details
zoomed in searchbar (150.59 KB, image/png)
2025-04-21 09:24 UTC, Kåre Särs
Details
Plasma 5 appearance (16.48 KB, image/png)
2025-04-21 16:19 UTC, elydgolden
Details
Comparison with dedicated search panel (72.46 KB, image/png)
2025-04-21 16:22 UTC, elydgolden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elydgolden 2025-04-20 21:15:34 UTC
Created attachment 180458 [details]
Search

SUMMARY

Title. In Kate 25.04.0 the search bar that shows up upon pressing ctrl+F is slightly larger than it should be.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20251418
KDE Plasma Version: 6.13.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Comment 1 elydgolden 2025-04-20 21:16:07 UTC
Created attachment 180459 [details]
Search + Replace
Comment 2 Waqar Ahmed 2025-04-21 04:54:11 UTC
I can't find the problem so closing. Reopen if you can explain the problem.
Comment 3 Kåre Särs 2025-04-21 09:24:27 UTC
Created attachment 180470 [details]
zoomed in searchbar

The search-bar has 0 padding, so when the search-bar has a dark border it pops out a bit more than the lighter containing frame/widget. The search-bar is not bigger, only looks like it. 
The left side is dynamic, based on the text in front of the search-bar, so not something that can be aligned to the left edge of the editor area.

Issues I do see is:
- There could be a left-margin before the text
- The search bar does not have the same border-line as the icon/line-number border (not as prominent if you have the scroll-bars always visible)
Comment 4 elydgolden 2025-04-21 16:19:32 UTC
Created attachment 180490 [details]
Plasma 5 appearance

Here is how it appeared in Plasma 5. There appeared to be more padding here
Comment 5 elydgolden 2025-04-21 16:22:24 UTC
Created attachment 180491 [details]
Comparison with dedicated search panel
Comment 6 elydgolden 2025-04-21 16:25:01 UTC
As this image shows, the ctrl+F search box lacks padding, while the dedicated search panel has ample padding.
Comment 7 Christoph Cullmann 2025-07-20 19:10:27 UTC
That is by design that way for all the views in that bottom area of the editor.
Naturally one could revisit that idea.