anufrievroman / waypaper

GUI wallpaper manager for Wayland and Xorg Linux systems
https://anufrievroman.gitbook.io/waypaper
GNU General Public License v3.0
396 stars 27 forks source link

Feature: Add search to gui application to filter images #68

Closed mylinuxforwork closed 1 week ago

mylinuxforwork commented 4 months ago

Hi,

In the current version you’re showing all images as previews in alphabetical order. In case of a large collection it’s difficult to find the right image just by scrolling.

That’s why I request a search function implemented as a search field above the thumbnails to filter the images by filename. The list should get filtered everytime I type a character in.

Thank you for considering this feature.

anufrievroman commented 4 months ago

Sounds useful, but personally, I have no idea how to code, especially so that it gets filtered upon entering every new character. I'll check, maybe there's some standard GTK implementation available for search...

chrissolanilla commented 3 months ago

Hi,

In the current version you’re showing all images as previews in alphabetical order. In case of a large collection it’s difficult to find the right image just by scrolling.

That’s why I request a search function implemented as a search field above the thumbnails to filter the images by filename. The list should get filtered everytime I type a character in.

Thank you for considering this feature.

Hello, I have some experience in doing filtering in programming and would be willing to implement this feature if you have not already. I like your Hyprland dotfiles btw. Currently I have some experience in adding one feature to this project and I think it's a great idea.

anufrievroman commented 3 months ago

Currently I have some experience in adding one feature to this project and I think it's a great idea.

Sure, please. On the side note, I think re-filtering upon every new letter might be too much as the library of images are sometimes too large and it might be difficult to reload all thumbnails. So it's better to start with just a search after hitting enter.

Reyshyram commented 3 months ago

re-filtering upon every new letter might be too much as the library of images are sometimes too large and it might be difficult to reload all thumbnails

Maybe re-filtering after a certain amount of time has passed without an user input (like 250ms) would be a solution?

Sandesh2007 commented 1 week ago

I am working on the search image feature and it is almost done. I also added menu for swww options.

Preview

https://github.com/user-attachments/assets/1177a195-4c85-4230-a2c9-3e9138629ef7

anufrievroman commented 1 week ago

Thanks to @Sandesh2007 this feature is implemented. Thank you all for suggestions and contributions. The feature will be available in the next release. But don't hesitate to install waypaper-git or from the main branch to test it.

mylinuxforwork commented 1 week ago

@anufrievroman @Sandesh2007 Awesome. Thank you so much for this great improvement.