'Minimap' Scrollbar from Sublime Text
-
Thank you and I've edited my post to make it clear that I'm requesting this for regular webpage viewing.
-
Would require a kind of screenshot of the current page.
Problem areas:
- Infinite scroll pages (when to stop/trigger preload).
- Short/Long pages (→ width of
minimap
), pages are highly dynamic in that regard.
-
@becm I haven't known Sublime Text to change the width of their minimap, was that from a previous version? Instead, it scales down the preview to fit within the minimap. Visual Studio's adaptation does this too, if poorly, by distorting the text in a way that makes it more difficult to discern.
-
There are a few chrome extension that already do this. Just search for minimap/minimap scrollbar on chrome webstore. Some work, some don't. Not sure if this really makes sense in a browser, in text editors it's a nice feature.
-
Having a minimap for text (I would think) is different than having it capture web pages. I too use Sublime Text and I never use the minimap (though I did when I first started using the editor simply because it was the default setting), it's cumbersome and only relevant if you know what the section you are looking for looks like in advance. It also takes up considerably more screen real estate.
Find
works much better to quickly search through code. But to each their own. -
@ouroboros4545 a vertical compression when exceeding the natural hight will distort graphic-heavy sites.
The contrast is (in many cases much) lower than for highlighted text blocks.When this gets to a pathological rate with source code it's time to start splitting content to different files anyway…
-
This is possible in vivaldi - Go to <> Page actions and select "page minimap"
-
@LonM Why is it so transparent to the point of being invisible? Also, is there a way to automatically ALWAYS show the minimap on every page?
Thanks. -
@TheAMan006 said in 'Minimap' Scrollbar from Sublime Text:
@LonM Why is it so transparent to the point of being invisible?
I am not sure, is that not how it's supposed to be? Otherwise it would get in the way of the page.
Also, is there a way to automatically ALWAYS show the minimap on every page?
Thanks.Please vote for this request: https://forum.vivaldi.net/topic/24460/persistent-page-actions
-
@TheAMan006 Page actions can be assigned a keyboard shortcut through keyboard settings. They also can be used in command chains, therefore you can create a mouse gesture or a custom button for it. Having it autoload on every webpage would probably be possible through custom modding. Don’t see this happening as an option.
edit: I’m stupid. For persistence just create a userscript. You can copy Vivaldi’s code over, no sophisticated fiddling needed. I don’t really understand the persistent page actions request, it’s supported by all common browsers.
-
@LonM Yeah, that's what I was suspecting. This extension (https://chrome.google.com/webstore/detail/scroll-preview/hhpfdnhklmhheldplcmfhfdooeekgpmm?hl=en), for example, gets around this problem by auto-hiding the minimap when the mouse cursor is nowhere near the right edge of the screen. I, personally, think that those are cheap workarounds; both, translucent minimap and auto-hiding ones. I think, being a browser feature and not just an extension, the minimap implementation in Vivaldi should replace the scrollbar, resize/shorten/narrow'en the page size to accomodate the minimap, and be always there (i.e., no auto-hiding) instead.
Speaking of narrow window/page sizes, (forced) word-wrap should be a thing too; perhaps a 'page-action'... Some article-style sites aren't very responsive to the window size, and require a horizontal scrollbar at the bottom... Nevermind.