Page 3 of 3

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 11:08
by admin
Ah yes, confirmed.

While fixing it I made this:

Code: Select all

    + SC setthumb: Now thumbnails injected via setthumb or thumbnails mapfile 
      behave more like original thumbnails: They support HoverBox and MDBU (but 
      both only over the thumbnails, not over the file icons), and their path 
      (not just the pixels as before) is stored in the cache.
But now I wonder: Is this good? Do you really want to see the injected thumb file on MDBU and HB? :eh:

PS: Ok, I think I know what I do: a new flag in SC setthumb can control this. That enables you to kind of "unlock" the real contents of your image (and other!) files while they are covered by injected thumbnails. Might even be a useful feature. :mrgreen:

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 12:27
by klownboy
admin wrote: 20 Nov 2021 11:08 But now I wonder: Is this good? Do you really want to see the injected thumb file on MDBU and HB?
I would think so. Why not? The original was probably crap or non-existent so why would I want to see it. If the file's original thumbnail was any good I probably wouldn't be changing it.
admin wrote: 20 Nov 2021 11:08 That enables you to kind of "unlock" the real contents of your image (and other!) files while they are covered by injected thumbnails.
So depending on the switch you would see the file's original thumbnail (though in many cases like an exe file there may not be one or at least a good one) or or the injected one.

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 13:16
by admin
1) Try to think like a spy. :)

2) Yes. Check out next beta, it works nicely.

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 14:51
by klownboy
Hi Don, I test the new enhanced feature for SC setthumb and it worked great. :tup:

I was just thinking what might be a really slick feature especially since you're almost there already, would be some quick change control where the user could quickly change from using the built in thumbnail or the new sourced (deep) thumb. If you held down a modifier while using MDBU you see the deep source thumbnail; if the modifier is not held you see the file's God given thumbnail. It in effect would be like having 2 thumbnails available on demand for the same item. It might make for a pretty cool feature.

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 16:45
by admin
Yeah, but I fear all (good) modifiers are gone. (You mean in MDBU and HB, right?)

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 17:09
by klownboy
Maybe it could be a feature exclusively to MDBU and not apply to HoverBox. I know you use modifiers for HB and File Info tips, but you're not using them in MDBU itself are you? I was thinking maybe a modifier that only applied to right clicking a thumbnail, like shift or control right click on a thumbnail would bring up the original file's thumbnail and right click only bring up the deep thumbnail.

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 17:17
by admin
Hmm, I just noticed that the MDBU stays up when you hold any modifier key on left-mouse down. Is that a feature? :) Like you I had expected that the modifier keys do nothing here.

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 17:50
by klownboy
Yes, you're right - for left click, the modifier makes the left MDBU behave like my right click which I have set for "Stay up" and I noticed that's the case even if you don't have the modifier pressed before the MDBU action (i.e., as long as you press the modifier in when blown up, the BU stays up even when you release the left mouse button). It doesn't apply to icon MDBUs, but that's OK. Does that mean you could potentially do something with that modifier since it undocumented anyway.

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 18:58
by admin
I played with it a little but ATM it's not possible. There's not enough space in this post to explain the details. ;)

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 19:43
by klownboy
Ahh OK, that's too bad. I was thinking for someone using drawings, sketches and plans or other figures it would be rather convenient, as well as cool, to be able to quickly see 2 views simply by pressing a modifier key.

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 19:57
by admin
Thing is: I could make that modifier work, but I cannot prevent this "stay up" effect. :\

Re: Use alternate image for cached thumbnail?

Posted: 20 Nov 2021 21:08
by klownboy
I don't know if this helps and I didn't realize it before, but when using a modifier with left mouse button, the BU only stays up if the mouse cursor happens to be over the BU image. If the mouse cursor is not over the BU, MDBU works as you'd expect with the left mouse button (i.e., the BU does not stay up). If it's not already, you can actually move the cursor over the blowup to make it stay up.

Do you have the same issue with the right mouse button and a modifier?

Re: Use alternate image for cached thumbnail?

Posted: 21 Nov 2021 09:34
by admin
klownboy wrote: 20 Nov 2021 21:08 I don't know if this helps and I didn't realize it before, but when using a modifier with left mouse button, the BU only stays up if the mouse cursor happens to be over the BU image. If the mouse cursor is not over the BU, MDBU works as you'd expect with the left mouse button (i.e., the BU does not stay up). If it's not already, you can actually move the cursor over the blowup to make it stay up.

Do you have the same issue with the right mouse button and a modifier?
1) Yes, same here. But I don't see a real solution here.

2) Yep.

3) I might have found a solution. :)

4) Where is the guy who started all this? :eh:

Re: Use alternate image for cached thumbnail?

Posted: 21 Nov 2021 15:20
by klownboy
admin wrote: 21 Nov 2021 09:34 3) I might have found a solution.
Yes you do and Beta v22.40.0241 works great. Thanks. :appl:
admin wrote: 21 Nov 2021 09:34 4) Where is the guy who started all this?
I guess the OP is MIA.

Re: Use alternate image for cached thumbnail?

Posted: 16 Feb 2022 06:14
by c0thirty
admin wrote: 21 Nov 2021 09:34 4) Where is the guy who started all this? :eh:
Hello! Sorry for not paying more attention to this thread. I just caught up on it and I'm amazed to see all the features I was hoping for, and more. Thanks!

Regarding MDBU behavior, I personally don't really have an opinion. :oops: I like the feature of showing the "true" thumbnail on hover.