<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/src/search/dolphinfacetswidget.h, branch master</title>
<subtitle>Patched KDE Dolphin with Pixel Scaling
</subtitle>
<id>https://fiftyfourth.xyz/git/dolphin/atom?h=master</id>
<link rel='self' href='https://fiftyfourth.xyz/git/dolphin/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/'/>
<updated>2025-04-07T21:09:00Z</updated>
<entry>
<title>Rewrite search integration</title>
<updated>2025-04-07T21:09:00Z</updated>
<author>
<name>Felix Ernst</name>
<email>felixernst@kde.org</email>
</author>
<published>2025-04-07T21:09:00Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=4102ccb80457eea44ea280f0ace2a419602bc34b'/>
<id>urn:sha1:4102ccb80457eea44ea280f0ace2a419602bc34b</id>
<content type='text'>
This huge commit is a nearly complete rewrite of the Dolphin search
code. It implements most of the improved Dolphin search UI/UX as
designed and discussed in a collaborative effort by Kristen McWilliam,
Jin Liu, Andy Betts, Tagwerk, a few others and me.
See https://invent.kde.org/system/dolphin/-/issues/46.

# Notable changes

- A toggle to change the search tool is provided as most contributors
deemed that useful in
https://invent.kde.org/system/dolphin/-/merge_requests/642#note_985112.
- The default search is changed to filenamesearch for maximum
reliability.
- Removing all search parameters will take users back to the view state
prior to starting a search instead of keeping the search results open.
- The UI for choosing file types or modification dates has been made
more powerful with more granularity and more options.
- Most search parameters can be configured from a popup menu which
gives us extra space for extra clarity.
- Labels and help buttons as well as hyperlinks to settings makes sure
the user always knows why some search parameters are unavailable in
some contexts.
- Chips show important search parameters while the popup is closed.
They allow quickly removing filters.
- The titles of the search and the input field placeholder message
change to make clear whether file names or file contents are searched.
- When the user actively switches the search tool, whether content
should be searched, or whether to search everywhere, this is preserved
for the initial state of the search bar when the user opens it the next
time after restarting Dolphin.

# Architecture

- The new DolphinQuery class is independent of the UI and contains all
search parameters modifiable in Dolphin as easy setters and getters.
- DolphinQuery objects are also used to update the states of every
component in the search UI. There is now a clear separation of UI and
search configuration/DolphinQuery.
- DolphinQuery is responsible for exporting to and importing from
search URLs.
- The search UI always reflects the currently configured DolphinQuery
no matter if the user changed the UI to change the DolphinQuery or
loaded a DolphinQuery/older search URL which then is reflected in the
UI.
- I tried to simplify all classes and their interaction between each
other as much as possible.
- I added some tests

BUG: 386754
CCBUG: 435119
CCBUG: 458761
BUG: 446387
BUG: 470136
CCBUG: 471556
CCBUG: 475439
CCBUG: 477969
BUG: 480001
BUG: 483578
BUG: 488047
BUG: 488845
BUG: 500103
FIXED-IN: 25.08
</content>
</entry>
<entry>
<title>search: Prevent the search box from enlarging the view</title>
<updated>2023-03-04T10:30:41Z</updated>
<author>
<name>Ismael Asensio</name>
<email>isma.af@gmail.com</email>
</author>
<published>2023-03-03T22:49:19Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=ba60b6ada3121389dcd4ee51aaa9067d681b187a'/>
<id>urn:sha1:ba60b6ada3121389dcd4ee51aaa9067d681b187a</id>
<content type='text'>
By default, the search filters widget calculates its
`minimumSizeHint` as the sum of its components' minimum widths.

This minimum width hint will scale up the widgets hierarchy,
finally imposing a minimum width to the contents view, which
in certain conditions can take the space from the side panels.

Let's set a minimum width hint of 0, so it is the filters widget
which always adapts to the available view size instead.

BUG: 466796
FIXED-IN: 23.04
</content>
</entry>
<entry>
<title>Add clang-format and format code as in Frameworks</title>
<updated>2023-02-05T05:45:38Z</updated>
<author>
<name>Serg Podtynnyi</name>
<email>serg@podtynnyi.com</email>
</author>
<published>2023-02-03T17:14:53Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=38c34eeca315c7be58e65d4d3fb72aaf7b866719'/>
<id>urn:sha1:38c34eeca315c7be58e65d4d3fb72aaf7b866719</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: Add action to clear tag selection</title>
<updated>2021-05-03T14:22:21Z</updated>
<author>
<name>Ismael Asensio</name>
<email>isma.af@gmail.com</email>
</author>
<published>2019-11-07T23:48:47Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=65b283a909d098687cbb9df52822439f5f5560b5'/>
<id>urn:sha1:65b283a909d098687cbb9df52822439f5f5560b5</id>
<content type='text'>
BUG: 432719
</content>
</entry>
<entry>
<title>Build with QT_NO_KEYWORDS</title>
<updated>2021-02-09T20:39:50Z</updated>
<author>
<name>Nicolas Fella</name>
<email>nicolas.fella@gmx.de</email>
</author>
<published>2021-02-08T22:09:59Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=f65b0899c3666561cafac14f67ab0bb8a5bfa00a'/>
<id>urn:sha1:f65b0899c3666561cafac14f67ab0bb8a5bfa00a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Output of licensedigger + manual cleanup afterwards.</title>
<updated>2020-08-25T17:07:38Z</updated>
<author>
<name>Elvis Angelaccio</name>
<email>elvis.angelaccio@kde.org</email>
</author>
<published>2020-08-25T17:07:38Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=954e8c47906c12edaaf6e6aebdd41516eceb0d44'/>
<id>urn:sha1:954e8c47906c12edaaf6e6aebdd41516eceb0d44</id>
<content type='text'>
Unfortunately licensedigger does not strip the trailing * characters.
While at it, use a common style for all source files.
</content>
</entry>
<entry>
<title>Clean-up DolphinFacetsWidget</title>
<updated>2019-12-29T20:05:45Z</updated>
<author>
<name>Ismael Asensio</name>
<email>isma.af@gmail.com</email>
</author>
<published>2019-12-15T22:15:46Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=c331d7068574dd468101ed8ade3ce51a2a8560c0'/>
<id>urn:sha1:c331d7068574dd468101ed8ade3ce51a2a8560c0</id>
<content type='text'>
Summary:
Small refactor patch to clean-up some logic on setter and getter:
- Search terms are previously splitted and set separately, so no need
  for extra splitting and `foreach` loop
- Return search terms on a `QStringList` rather than join first

Depends on: D26029

Test Plan: No behavior changes

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D26150
</content>
</entry>
<entry>
<title>Rename methods on DolphinFacetsWidget</title>
<updated>2019-12-26T18:30:08Z</updated>
<author>
<name>Ismael Asensio</name>
<email>isma.af@gmail.com</email>
</author>
<published>2019-12-21T18:41:44Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=732697d0d6fcc3a834a85865dcd88870e127711b'/>
<id>urn:sha1:732697d0d6fcc3a834a85865dcd88870e127711b</id>
<content type='text'>
Summary:
Small refactor patch to rename method names, from `ratingTerm` to `searchTerm`,
since its scope has grown bigger.

Test Plan: No behavior changes

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D26029
</content>
</entry>
<entry>
<title>[dolphin/search] Search by (multiple) tags</title>
<updated>2019-12-15T16:28:38Z</updated>
<author>
<name>Ismael Asensio</name>
<email>isma.af@gmail.com</email>
</author>
<published>2019-12-15T16:18:18Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=8e80c1d6dc1ede9b0a44ea1bd949487280c17064'/>
<id>urn:sha1:8e80c1d6dc1ede9b0a44ea1bd949487280c17064</id>
<content type='text'>
Summary:
Adds a tag selector in the extended filters of the search box.
Selected tag or tags are added to the search query along with the other filters (type, date, rating).

FEATURE: 412564
CCBUG: 356062

Test Plan:
- Menu shows the user tags
- Picking any tag/s filters the search to that specific tag/s

{F7727909}

Reviewers: elvisangelaccio, ngraham, #dolphin, #vdg

Reviewed By: elvisangelaccio, ngraham, #dolphin, #vdg

Subscribers: kfm-devel

Tags: #dolphin

Maniphest Tasks: T9094

Differential Revision: https://phabricator.kde.org/D25130
</content>
</entry>
<entry>
<title>New design for extended search options</title>
<updated>2019-10-27T21:52:01Z</updated>
<author>
<name>Ismael Asensio</name>
<email>isma.af@mgmail.com</email>
</author>
<published>2019-10-27T21:38:15Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=1c50de3b380922eea36c59d5cf8dacb58c70d64d'/>
<id>urn:sha1:1c50de3b380922eea36c59d5cf8dacb58c70d64d</id>
<content type='text'>
Summary:
Replace the arrays of radiobuttons in dolphin search box to more simple dropdown boxes.
This provides a leaner look, saving a lot user space on the main view and it is more consistent with the 'Search tools' in the most known sites (Google, DuckDuckGo, etc.)
There is room for improvement, as `QComboBox` doesn't match perfectly with the tool buttons used avobe, but I think it is an improvement over the current situation.

BEFORE:
{F7581883}

AFTER:
{F7580952}

Test Plan: Same behavior with different aesthetics

Reviewers: elvisangelaccio, #dolphin, #vdg

Subscribers: ndavis, ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D24602
</content>
</entry>
</feed>
