How to find NOT

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

elfroggio
Posts: 27
Joined: Sat May 30, 2015 9:13 pm

How to find NOT

Postby elfroggio » Mon Nov 13, 2017 3:43 pm

XnViewMp 0.88

How can search for negatives?

I have 2 categories: "Cat1" and "Cat2". I'm looking for all the images with Cat1 but not Cat2.

Thanks

Syv

User avatar
xnview
Author of XnView
Posts: 28394
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to find NOT

Postby xnview » Tue Nov 14, 2017 3:50 pm

currently it's not possible
Pierre.

elfroggio
Posts: 27
Joined: Sat May 30, 2015 9:13 pm

Re: How to find NOT

Postby elfroggio » Thu Nov 16, 2017 3:14 am

xnview wrote:currently it's not possible


Could you add it?
Would be very useful, at least to me so I think it would also helpful for other people.

Thanks

Syv

jadO
Posts: 318
Joined: Wed Apr 29, 2015 6:36 am

Re: How to find NOT

Postby jadO » Fri Nov 17, 2017 5:11 pm

elfroggio wrote:I think it would also helpful for other people.


Yes, it would be very helpful. Missing this feature for ages.

michel038
Posts: 113
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: How to find NOT

Postby michel038 » Fri Nov 17, 2017 7:00 pm

same problem with search window : can do it with caption, but impossible with keywords ...

search.png
search.png (25.46 KiB) Viewed 232 times

jadO
Posts: 318
Joined: Wed Apr 29, 2015 6:36 am

Re: How to find NOT

Postby jadO » Tue Nov 21, 2017 9:33 am

Would be useful when doing selection via categories too.

User avatar
xnview
Author of XnView
Posts: 28394
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to find NOT

Postby xnview » Tue Nov 21, 2017 2:37 pm

elfroggio wrote:
xnview wrote:currently it's not possible


Could you add it?
Would be very useful, at least to me so I think it would also helpful for other people.

But how to add this feature easily in the category tree view?
Pierre.

jadO
Posts: 318
Joined: Wed Apr 29, 2015 6:36 am

Re: How to find NOT

Postby jadO » Tue Nov 21, 2017 4:22 pm

xnview wrote:
elfroggio wrote:
xnview wrote:currently it's not possible


Could you add it?
Would be very useful, at least to me so I think it would also helpful for other people.

But how to add this feature easily in the category tree view?

Maybe to have a little popup when selecting a category. Or by shortcut.
Let's say you have categories A, B, C, and D. Normally you would select A, STRG B and this results in display of files of A and B.
Could the app detect an additional key stroke. Let's say you select A STRG B STRG C-. The app could interpret this as files from A + B without C.
Or you make little "-" signs next to categories, which can be pressed instead of selecting the category when you want to not include something.

Hope you understand what I mean.

michel038
Posts: 113
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: How to find NOT

Postby michel038 » Tue Nov 21, 2017 5:56 pm

xnview wrote:But how to add this feature easily in the category tree view?


Maybe a checkbox with a green mark (include) and another with a red cross (exclude) near each catergory.

Be careful with "Match, any" choice :

If "Match all" is used , then search for cat.1 and cat.2 and cat.3 and not cat.4
if "Match any" is used, then search for (cat.1 or cat.2 or cat.3) and (not cat.4)

jadO
Posts: 318
Joined: Wed Apr 29, 2015 6:36 am

Re: How to find NOT

Postby jadO » Tue Nov 21, 2017 7:28 pm

Or multi select. 1 click selects catagory and means AND. Second click selects category and means NOT. 3rd click deselects category again.
It could have different colours for these states: White for not selected, green for included, red for not included.

User avatar
xnview
Author of XnView
Posts: 28394
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to find NOT

Postby xnview » Fri Nov 24, 2017 4:02 pm

do you know how it's integrated in other apps?
Pierre.

jadO
Posts: 318
Joined: Wed Apr 29, 2015 6:36 am

Re: How to find NOT

Postby jadO » Fri Nov 24, 2017 4:49 pm

xnview wrote:do you know how it's integrated in other apps?

Unfortunately no. But I think basically we have 3 click states: 1st select category and means AND. 2nd selects category and means NOT. 3rd deselects category.

Maybe it could look similar to this where green means AND and red means NOT:

Image

User avatar
m.Th.
XnThusiast
Posts: 1381
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: How to find NOT

Postby m.Th. » Sat Nov 25, 2017 10:56 am

xnview wrote:do you know how it's integrated in other apps?


Generally, the NOT operator is handled with a tri-state checkbox.

More details in tracker: http://www.xnview.com/mantisbt/view.php?id=389
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.88 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
xnview
Author of XnView
Posts: 28394
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to find NOT

Postby xnview » Sat Nov 25, 2017 12:17 pm

m.Th. wrote:
xnview wrote:do you know how it's integrated in other apps?

Generally, the NOT operator is handled with a tri-state checkbox.
More details in tracker: http://www.xnview.com/mantisbt/view.php?id=389

how is it handled in bridge?
Pierre.

jadO
Posts: 318
Joined: Wed Apr 29, 2015 6:36 am

Re: How to find NOT

Postby jadO » Sun Nov 26, 2017 10:41 am

Here is an example how it could look in jquery: https://www.jqueryscript.net/form/jQuer ... witch.html

But using a checkbox will change usability and I am not for it. Currently it is great that you can hold STRG and slide the mouse down over all categories that you want. This would change if you would have to click a checkbox for each category that you want to include.
Therefor I would prefer a click on the category itself to change its state rather than having an additional checkbox to check.

To be clear: I'd rather prefer just an indicator for the current state but selection of state should be by clicking the category.


Return to “MP - General Support”

Who is online

Users browsing this forum: Gérard 91, piXuniverse and 2 guests