Bug 111778 - Standard filter dialog window is not re sizable (work around in #10)
Summary: Standard filter dialog window is not re sizable (work around in #10)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.3.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: AutoFilter
  Show dependency treegraph
 
Reported: 2017-08-13 22:25 UTC by Yevhen
Modified: 2023-04-11 20:18 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of a regression (55.80 KB, image/jpeg)
2017-08-20 18:06 UTC, Yevhen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yevhen 2017-08-13 22:25:01 UTC
Description:
Some dialog windows (like Standard filter) have fixed size so searched results won't fit. Prior to version 5.3 standard filter results were long enough to read them without horizontal scrolling because dialog window size adapted to the longest cell content. Now I have to either use older version or use special rules of window manager (KWin) to enlarge those dialogs.
Similar thing with search results, initially that dialog window is too small to see fully long line but at least it's re-sizable.

Steps to Reproduce:
1.Enter something long in the cell
2.Select whole column
3.Open standard filter dialog

Actual Results:  
Standard filter dialog is too small to see the 'Value' 

Expected Results:
Standard filter dialog is at least adaptable to the value like before. Ideally re-sizable.


Reproducible: Always

User Profile Reset: Yes

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Comment 1 Xisco Faulí 2017-08-14 08:37:27 UTC
Moving it back to UNCONFIRMED until someone else confirms it.
Comment 2 Xisco Faulí 2017-08-15 00:13:04 UTC
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 3 Yevhen 2017-08-15 06:40:36 UTC
Yes, I tried 'fresh' / 5.4.0.3 version from Ubuntu's ppa. This issue is easily reproducible under most Desktop envirornments (I tried XFCE, MATE, KDE) with gtk2, gtk3 and kde VCL UI.
Comment 4 raal 2017-08-20 06:43:24 UTC
Hello,

Thank you for submitting the bug. The bug has previously been reported, so this bug will be added as a duplicate of it. You will automatically be CCed to updates made to the other bug.

*** This bug has been marked as a duplicate of bug 49813 ***
Comment 5 Yevhen 2017-08-20 18:06:33 UTC
Created attachment 135673 [details]
Screenshot of a regression
Comment 6 Yevhen 2017-08-20 18:07:44 UTC
It's not a duplicate of bug 49813, it's a different bug. I reported about unrealizable narrow Dialog window of Standard filter, not Autofilter pop-up window.
Added screenshot
Comment 7 raal 2017-08-21 05:02:35 UTC
Confirm the regression.
Comment 8 raal 2017-08-21 05:29:28 UTC
author	Caolán McNamara <caolanm@redhat.com>	2016-07-13 19:09:41 (GMT)
committer	Caolán McNamara <caolanm@redhat.com>	2016-07-13 19:10:46 (GMT)
commit 595c049afe0aff08ec350100bda5a2528f660a8e (patch)
tree f698068192502689920b29a0174f5aebeb845f6c
parent 87c7d2902f419041b76bb7b5af8e38d5acbac733 (diff)
Resolves: tdf#98240 limit width of widgets of standard filter
and make the dialog non-resizeable because the ancient
core impl can only have 4 rows visible at a time
Comment 9 Caolán McNamara 2017-08-28 14:05:35 UTC
The "original" dialog wasn't resizeable, it was resizeable for a while after conversion to .ui and then back to resizeable again.

Its trivial to make it nominally resizeable, just remove the resizeable property of False line in sc/uiconfig/scale/ui/standardfilterdialog.ui but the dialog doesn't play particularly well when resized, so I'm going to personally leave this alone as I don't see it as a regression from the original state and I've no enthusiasm to be on the hook to work through making it play perfectly when resized.
Comment 10 Yevhen 2017-08-28 19:26:58 UTC
(In reply to Caolán McNamara from comment #9)
> The "original" dialog wasn't resizeable, it was resizeable for a while after
> conversion to .ui and then back to resizeable again.
> 
> Its trivial to make it nominally resizeable, just remove the resizeable
> property of False line in sc/uiconfig/scale/ui/standardfilterdialog.ui but
> the dialog doesn't play particularly well when resized, so I'm going to
> personally leave this alone as I don't see it as a regression from the
> original state and I've no enthusiasm to be on the hook to work through
> making it play perfectly when resized.

It works, thank you!
Any chance to make it tunable for a regular user?
---
For those who didn't understand what to do:
sudoedit /usr/lib/libreoffice/share/config/soffice.cfg/modules/scalc/ui/standardfilterdialog.ui
<property name="resizable">False</property>
<property name="resizable">True</property>
Comment 11 QA Administrators 2018-08-29 02:41:51 UTC Comment hidden (obsolete)
Comment 12 Cor Nouws 2020-03-09 16:21:30 UTC
still similar in Version: 7.0.0.0.alpha0+
Build ID: 4c009d523f1017def872f0c69caafd7d1826c263
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-03-06_13:17:52
Locale: nl-NL (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Removing "and don't adapt to the content width" from the summary. That is bug 91847
Comment 13 Colin 2021-09-28 12:03:38 UTC
I know it's not a fix and it may be impractical for the majority of users but if you simply resize the column you're searching before opening the filter then the dialogue box adjusts to the column width.
It's then easy enough to revert the column size once you find what you seek.