qView icon indicating copy to clipboard operation
qView copied to clipboard

Random Image browsing

Open nmondal opened this issue 3 years ago • 16 comments

Hi, I stumbled upon this and I must admit - qView is awesome. It works for me in every possible way - gifs work, the image zooming works - everything works. The only feature I miss is random image browsing. Now one can argue that one can fix it by changing the file sorting order. But bear with me - that changes the global preference. What I want - and people want - is on different open image windows - having different order. Of course there is a global order. But once you open an image there should be some action to open next random image from the same folder.

Honestly, I used to be using Xee - when I was using my mac. Now I am in Zorin OS and loving every bit - almost - apart from the EOG - and I love qView. This is the only thing that is missing. P.S. I have forked the project - but I have no clue about QT and the qt creator installation failing due to bad bandwidth. If nothing I would raise a PR and fix it myself if time permits. Thanks again for the awesome project.

nmondal avatar Nov 30 '21 19:11 nmondal

Sounds like a meaningless feature

kleenkanteen avatar Dec 07 '21 11:12 kleenkanteen

Sounds like a meaningless feature Why you think so? Xee has it and honestly qView is a nice substitute for Xee. So.. I think it is great feature to have. Not much work anyways under the hood.

nmondal avatar Dec 07 '21 18:12 nmondal

What? I think this feature is perfectly legitimate..

Hrxn avatar Dec 07 '21 18:12 Hrxn

It totally makes sense for fullscreen slideshows... something that you might run at a birthday party or family reunion.

vassudanagunta avatar Dec 07 '21 19:12 vassudanagunta

It totally makes sense for fullscreen slideshows... something that you might run at a birthday party or family reunion.

What kind of person has fullscreen slideshows during a gathering?

Use your arrow keys to get a random picture. That's equivalent.

kleenkanteen avatar Dec 08 '21 08:12 kleenkanteen

Not equivalent, because it's not random, d'oh..

Hrxn avatar Dec 08 '21 18:12 Hrxn

@Hrxn,

@kleenkanteen is just a troll. His self-worth is based on being arrogant and snarky. Sad.

vassudanagunta avatar Dec 09 '21 08:12 vassudanagunta

@vassudanagunta Ironic you're the one calling me snarky when you made a snarky comment in the other post. Just because your feelings are hurt doesn't make the other person bad 😢

kleenkanteen avatar Dec 10 '21 03:12 kleenkanteen

It would be nice to just add a right-click option for Slideshow separately, so image browsing can be sorted by name and slideshow can be shown in random order. Now, the preference option works for both image browsing and slideshow, which is inconvenient.

needz avatar Dec 10 '21 14:12 needz

Wow this issue got kinda spicy. I think this is a good idea, probably coupled with some sort of UX change where the sorting mode is changed per-window in a context menu or something (currently things are a bit too deep in the preferences generally). It is weird to think how this will work with saving/loading the state of this option though. that might really be the biggest obstacle to that specifically being implemented in a straightforward way.

For now though, qView has things that are more broken than this that should be addressed first.

jurplel avatar Dec 12 '21 03:12 jurplel

@jurplel By things that are broken do you mean everything addressed in milestone 5.0? Do all the 5.0 open issues implicitly have a help wanted tag in case someone wants to propose a fix?

kleenkanteen avatar Dec 12 '21 08:12 kleenkanteen

I will probably drop some of the 5.0 stuff. At this point i'm going to b-line to a release and maybe move toward 6.0 stuff because it's pretty darn foundational...

If you want to propose a fix to a 5.0 thing I will probably add it but it would be best to let me know first in case i wrote a horribly vague issue or something

jurplel avatar Dec 12 '21 18:12 jurplel

Wow this issue got kinda spicy. I think this is a good idea, probably coupled with some sort of UX change where the sorting mode is changed per-window in a context menu or something (currently things are a bit too deep in the preferences generally). It is weird to think how this will work with saving/loading the state of this option though. that might really be the biggest obstacle to that specifically being implemented in a straightforward way.

For now though, qView has things that are more broken than this that should be addressed first.

That is precisely what I was thinking.

nmondal avatar Dec 21 '21 05:12 nmondal

@jurplel There is a simpler way of achieving the random next. Do not have a setting in the first place - ( rather that browse setting - do not use it ). Suppose "space" bound to the key as the next random image. So all we need to do is get all files and selected next random one. This is sampling w/o replacement ( just impl is that way). Get a better chaotic random generator - and it would just work. This gives two different way to browse randomly - but at the same time I believe people would not mind it.

nmondal avatar Dec 21 '21 05:12 nmondal

@jurplel There is a simpler way of achieving the random next. Do not have a setting in the first place - ( rather that browse setting - do not use it ). Suppose "space" bound to the key as the next random image. So all we need to do is get all files and selected next random one. This is sampling w/o replacement ( just impl is that way). Get a better chaotic random generator - and it would just work. This gives two different way to browse randomly - but at the same time I believe people would not mind it.

Yeah that is definitely doable

jurplel avatar Dec 24 '21 19:12 jurplel

I would also find a random function for the slideshow option (forward and backward) very useful.

marcelismus avatar Aug 16 '22 11:08 marcelismus

As hard as it is to do it, I am going to close this since I just don't see myself ever getting to it.

jurplel avatar May 01 '23 19:05 jurplel

@jurplel .. again thanks for the awesome viewer! I had like one problem with it, the random order view was slow, for a folder having 1000s of images. I have a folder having more than 7,000 images. Now, in the latest version - it seems the performance has been massively improved. Not sure how it happened or you explicitly worked or not, but it is massively improved.

nmondal avatar Aug 19 '23 15:08 nmondal