Page 1 of 1

Hover over PDF and Mouse button down should remember position

Posted: 17 Jan 2022 13:55
by Horst
Hovering over an PDF icon works fine and pressing the mouse button down enlarges the preview perfect.
Sometimes I change the position of this large preview by moving it to the right, so I can stiil see the file list.
Unfortunately this position is not saved in any way, so next time I have to do it again.
Can this position be saved by XY or is this a function of the preview module, SumatraPDF in my case ?

Re: Hover over PDF and Mouse button down should remember position

Posted: 18 Jan 2022 17:29
by admin
Damn it, this is a cool idea! :tup:

Re: Hover over PDF and Mouse button down should remember position

Posted: 18 Jan 2022 20:32
by Horst
Thanks, works fine with latest beta.

Re: Hover over PDF and Mouse button down should remember position

Posted: 19 Jan 2022 17:32
by admin
v22.70.0019 works finer.

Re: Hover over PDF and Mouse button down should remember position

Posted: 19 Jan 2022 19:08
by klownboy
admin wrote: 19 Jan 2022 17:32 v22.70.0019 works finer.
Yes it does, even with "allow panning" unchecked. Thanks.

By the way, does something control that panning movement, left drag moves the pic to the right, right drag moves pic left (i.e., is that changeable to left to left, right to right)?

Re: Hover over PDF and Mouse button down should remember position

Posted: 19 Jan 2022 19:22
by admin
I'd give Configuration | Preview | Mouse Down Blow Up | General | Movement a try...

Re: Hover over PDF and Mouse button down should remember position

Posted: 19 Jan 2022 19:38
by klownboy
Ah cool, so that's what that does! :whistle:

Re: Hover over PDF and Mouse button down should remember position

Posted: 19 Jan 2022 23:34
by jupe
Just getting around to testing this new feature, and I have to say that I don't like it, are there any plans to make this optional? Just as feedback, I find it is easy to end up with the MDBU half off screen now, I also prefer the old initial positioning better when is was cursor center based, especially so for text files.

Re: Hover over PDF and Mouse button down should remember position

Posted: 20 Jan 2022 08:34
by admin
Yes, it will be optional. I just forced it on you all to get some feedback. Which just happened. :)

I just noticed (as you apparently did too) that with the "Shrink to Fit" option enabled, the position crawls to a new spot on its own without actively dragging the mouse. That may need to be addressed later.

@Horst: Maybe "Remember position" should only be enabled if "Shrink to Fit" is off?

Re: Hover over PDF and Mouse button down should remember position

Posted: 20 Jan 2022 12:27
by klownboy
I've always had "shrink to fit" on, and to be honest with more use, I'm starting to agree with jupe, that it's a little irritating especially if you're MDBU viewing many different sized images. Images are popping up in "unexpected" places. :)

Re: Hover over PDF and Mouse button down should remember position

Posted: 31 Jan 2022 03:25
by jupe
I have noticed a recent change in behavior that seems like a regression, now if you MDBU on a text/pdf/etc... file (that is full screen height) and your cursor is near the bottom of the screen, it loads the MDBU with the bottom half of it off screen, previously it would be all on screen, now it just seems to use cursor center as the middle of the MDBU vertically always, instead of only doing that when it would be within the viewport. Horizontally it seems ok still though, and images/videos seem unaffected. The issue is present with/without the new remember pos setting enabled.

Re: Hover over PDF and Mouse button down should remember position

Posted: 31 Jan 2022 09:30
by admin
1) Could you post a screenshot of your MDBU settings. There are too many possible factors here.

2) Also need to know which list view is active (Details, Thumbnails...).

3) And which mouse button is used.

Re: Hover over PDF and Mouse button down should remember position

Posted: 31 Jan 2022 09:53
by jupe
Can't give screenshot until tomorrow, but from fresh only 2 settings would need changing, just enable left mouse btn down, and on icons too, then using details view on an item near the bottom of screen.

Re: Hover over PDF and Mouse button down should remember position

Posted: 31 Jan 2022 10:00
by admin
OK, I think I can reproduce it here. Something needs to be done...

Re: Hover over PDF and Mouse button down should remember position

Posted: 31 Jan 2022 23:25
by jupe
Looks resolved now, in 22.70.0284.
   
:cup: