Bug 333393

Summary: find dialog can be squeezed horizontally far too much in kate and kwrite (3.7)
Product: [Applications] kate Reporter: Marko Käning <mk-lists>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: cfeck, christoph
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: MacPorts   
OS: macOS   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot for both editors
Screenshot for both editors
Kate window now using a width 80 chars

Description Marko Käning 2014-04-13 20:47:50 UTC
Sizing kwrite's or kate's application windows when the find pane is shown renders the latter  only with heavily overlapping widgets.

Reproducible: Always

Steps to Reproduce:
1. Press Apple+F to enforce displaying find pane at app's window bottom
2. Resize application windows to minimum width
Actual Results:  
overlapping widgets in find pane

Expected Results:  
no overlaps
Comment 1 Marko Käning 2014-04-13 20:48:19 UTC
Created attachment 86081 [details]
Screenshot for both editors
Comment 2 Marko Käning 2014-04-13 20:48:30 UTC
Created attachment 86082 [details]
Screenshot for both editors
Comment 3 Christoph Feck 2014-04-20 09:55:20 UTC
I have my editor window configured to a width of about 80 columns, and if invoking the find dialog would resize my window, I would be highly annoyed. It could adapt to smaller sizes by using "Prev" and "Next" buttons without texts and/or omitting the "Find:" label.
Comment 4 Marko Käning 2014-04-24 19:16:48 UTC
Created attachment 86254 [details]
Kate window now using a width 80 chars

As you can see in the attached snapshot from kate there is still an overlap of the Next button with the find string edit field. 

You are right, omitting the texts from the buttons for a narrow window would make sense.

Also I think it would make sense to define a minimum width for the window depending of the sizes of all controls in order to avoid the hefty overlapping shown in the older attachments for both kate and kwrite.
Comment 5 Christoph Feck 2014-05-04 18:19:47 UTC
> Also I think it would make sense to define a minimum width for the window

That's exactly what I wanted to avoid with my comment #3.
Comment 6 Marko Käning 2014-05-05 16:42:48 UTC
(In reply to comment #5)
> That's exactly what I wanted to avoid with my comment #3.
Understood. :)
Comment 7 Marko Käning 2014-10-04 17:09:11 UTC
This only happens when I use the standard native "Macintosh (aqua)" theme and can be avoided by using another style, like e.g. the "Oxygen" theme.
Comment 8 Christoph Cullmann 2016-09-06 08:32:05 UTC
We can't change how the standard theme behaves there, the size hints look normal for me.
Minimum sizes will only lead to other problems, like non-ability to resize the window if you are really out of space.