You are not logged in.

#1 2017-11-12 10:10:09

wekeduck
Member
Registered: 2017-11-12
Posts: 5

TaskBar Preview?

Will CrunchBang ever have taskBar preview thumbnails when you move and hover your mouse across the taskbar?

Thanks

Offline

#2 2017-11-12 10:41:36

Steve
Member
Registered: 2017-01-03
Posts: 606

Re: TaskBar Preview?

Similar to windows 7? I think the xfce4 panel allows for something similar called dockbarx.

https://github.com/M7S/dockbarx

Last edited by Steve (2017-11-12 10:42:45)

Offline

#3 2017-11-12 11:02:33

wekeduck
Member
Registered: 2017-11-12
Posts: 5

Re: TaskBar Preview?

Thanks but dockbarx groups windows together.

Cinnamon has a separate thumbnail preview for each Firefox window open so you can run your mouse across the task bar and see what every webpage is doing without opening it from your current one.

Offline

#4 2017-11-12 11:19:16

Steve
Member
Registered: 2017-01-03
Posts: 606

Re: TaskBar Preview?

^ not so much bunsnelabs but rather Tint2 would have to implement that i think as tint2 is the default panel/taskbar.

I am curious as to why you find this feature helpfull?

Offline

#5 2017-11-12 11:31:59

wekeduck
Member
Registered: 2017-11-12
Posts: 5

Re: TaskBar Preview?

Without it CrunchBang is of no use as it's a show stopper for people that use multiple firefox windows for webpage stock charts , tools and finance video news so each window can be previewed instantly without leaving the current chart when markets move.

You can do it in Windows and other linux desktops like Cinnamon

It's ok when you have multiple monitors setup but a real pain on a single panel that you have to keep changing as it's sods law that you close a window by mistake.

Sliding your mouse across each taskbar window it never happens.

It's no problem if CrunchBang will never have this feature , i'll just use another distro with cinnamon.

thanks

Last edited by wekeduck (2017-11-12 11:33:33)

Offline

#6 2017-11-12 11:49:08

Steve
Member
Registered: 2017-01-03
Posts: 606

Re: TaskBar Preview?

Fair enough.

Are you using crunchbang or bunsenlabs?

Cinnamon is a nice desktop environment, if ever i get a more modern computer i would look to having cinnamon as an everyday driver but as it stands just eats to much ram on my laptop.

Offline

#7 2017-11-12 12:21:03

wekeduck
Member
Registered: 2017-11-12
Posts: 5

Re: TaskBar Preview?

bunsenlabs

Tried it for the first time yesterday and was very impressed but small nuances like above can turn into too much hassle that i might as well install standard Debian.

I think bunsenlabs might be too bespoke and is more of a private group project rather than how the masses use computers today.

Last edited by wekeduck (2017-11-12 12:21:28)

Offline

#8 2017-11-12 14:59:33

nore
>2⁹
From: Timberland
Registered: 2015-09-29
Posts: 331

Re: TaskBar Preview?

wekeduck wrote:

...more of a private group project rather than how the masses use computers today.

Exactly. It is made for people who find it useful, not to suit everyone's needs. One size fits nobody. Why not choose a distro that is built over Cinnamon, Mint for instance, if you feel you need features found in it?

Mass is a four letter word.

dictionary wrote:

mass: a body of coherent matter, usually of indefinite shape and often of considerable size: "a mass of dough".

Offline

#9 2017-11-13 00:10:51

hhh
TESTING!!!!!!!
Registered: 2015-09-17
Posts: 4,340
Website

Re: TaskBar Preview?

wekeduck wrote:

bunsenlabs...
I think bunsenlabs might be too bespoke and is more of a private group project rather than how the masses use computers today.

BL Hydrogen definitely stays true to CrunchBang's out-of-the-box setup, which is one that encourages tinkering and customization. By the way, that's a large group, a lot of people like the freedom Linux offers to set things up the way they like them. That's not for everyone, though, and our forum members are glad to recommend other distros if you post in our Distro thread...

https://forums.bunsenlabs.org/viewforum.php?id=23

That said, you can't get xfce4-panel or tint2 or lxpanel to give you a description tooltip? Or, if an image preview is what you want using Helium/Debian stretch, have you tried Plank or Docky?

https://packages.debian.org/stretch/plank
https://packages.debian.org/stretch/docky

Offline

#10 2017-11-13 01:54:31

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 850

Re: TaskBar Preview?

@wekeduck I'm wondering: Why has to be the tab preview via taskbar? I mean if there are several tabs open in the browser - what about tab previews there?

Offline

#11 2017-11-13 06:32:50

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,199

Re: TaskBar Preview?

Not exactly the solution, but might be close
https://github.com/richardgv/skippy-xd
It will only show window content of windows that are not minimized,  it's not exactly pretty.

Last edited by brontosaurusrex (2017-11-13 06:34:01)

Online

#12 2017-11-13 06:33:12

wekeduck
Member
Registered: 2017-11-12
Posts: 5

Re: TaskBar Preview?

https://www.linux-live.org

I resolved all issues in less than a hour by installing Debian Cinnamon , setting up my tools and then converting the drive to a live image with the above script.

So this will be my last post , thanks all.

smile

Last edited by wekeduck (2017-11-13 06:34:05)

Offline

#13 2017-11-13 07:06:27

Head_on_a_Stick
Moderator
From: London
Registered: 2015-09-29
Posts: 7,383
Website

Re: TaskBar Preview?

Have you tried GNOME?

Once you get used to the workflow it's _much_ better than the obsolete paradigms favoured by Cinnamon (and Windows), IMO.


"The first principle is that you must not fool yourself - and you are the easiest person to fool" — Richard Feynman

Forum Rules   •   How to report a problem   •   bunsenlabs(7)

Offline

#14 2017-11-13 21:31:38

p9000
Member
Registered: 2017-05-28
Posts: 22

Re: TaskBar Preview?

wekeduck wrote:

Will CrunchBang ever have taskBar preview thumbnails when you move and hover your mouse across the taskbar?

Thanks

Actually I tried to implement this 9 years ago (really). It mostly worked, but there were some small problems. I don't remember the details, but I think it was related to windows covered by other windows for which thumbnails were partially or completely blank.

I might try to get it working again, now I know much more than I used to back then.

Offline

#15 2017-11-13 21:36:58

p9000
Member
Registered: 2017-05-28
Posts: 22

Re: TaskBar Preview?

brontosaurusrex wrote:

Not exactly the solution, but might be close
https://github.com/richardgv/skippy-xd
It will only show window content of windows that are not minimized,  it's not exactly pretty.

Spot on. I think this can be solved by updating the thumbnail only when the window is visible (and not covered by other windows).

Offline

#16 2017-11-13 21:40:06

p9000
Member
Registered: 2017-05-28
Posts: 22

Re: TaskBar Preview?

Head_on_a_Stick wrote:

Have you tried GNOME?

Once you get used to the workflow it's _much_ better than the obsolete paradigms favoured by Cinnamon (and Windows), IMO.

Blasphemy!!!

Offline

#17 2017-11-14 07:00:11

ohnonot
...again
Registered: 2015-09-29
Posts: 2,218
Website

Re: TaskBar Preview?

wekeduck wrote:

So this will be my last post , thanks all.

no, thank you for that.

Last edited by ohnonot (2017-11-14 07:00:25)

Offline

#18 2017-11-14 09:54:03

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 358
Website

Re: TaskBar Preview?

Latest master shows thumbnails: screen-thumbs6169b5838cfe7165.th.png

No way to turn them off, but there will be. Will be off by default.

Thumbnails are updated only when switching tasks (a periodic update is planned).

If compton (or any compositor) is on, thumbnails will be correct even if tasks are partially covered by others (but not when minimized).

Size options are planned.

Matching of size/positioning between tooltip text and image is planned.

Getting the thumbnail for a single window takes between 10-40 ms on my machine (usually around 10ms) with an older i7 CPU. This is borderline acceptable, and shows that there will be visible lag on slower computers and/or computers with large desktops (4K).

Last edited by o9000 (2017-11-14 16:09:57)

Offline

#19 2017-11-14 13:05:48

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,199

Re: TaskBar Preview?

o9000, Nice.
- Will there be any ways to adjust downsizer/thumbnail quality?
- It's obvious that cache is set to some constant time (mpv playing video window), not a problem, but a bit weird.

Online

#20 2017-11-14 13:19:11

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 358
Website

Re: TaskBar Preview?

I played with a few options. "Nearest" (just picks 1 pixel from the original image for every pixel in the thumbnail) is the fastest, with a latency under 5ms here, but looks poor. The rest use filtering, that averages the color from multiple pixels: bilinear gives always around 10 ms and looks pretty good; gaussian gives 10-40ms and looks just slightly better than bilinear.

I might make it an option.

Edit: gaussian and bilinear actually have similar performance. So the choice is really between fast-but-poor and slow-but-pretty.

Last edited by o9000 (2017-11-14 14:47:56)

Offline

#21 2017-11-14 16:10:54

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 358
Website

Re: TaskBar Preview?

Config ready:

task_thumbnail = 1
task_thumbnail_size = 200

Offline

#22 2017-11-14 19:58:08

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,199

Re: TaskBar Preview?

I'am probably way to nosy, but looking at src/util/window.c and in line 395 saying

cairo_pattern_set_filter(cairo_get_source(cr), CAIRO_FILTER_BEST);

Does create quite a lot better better looking thumbs, however tint2 jumping at the top in htop.

tint2: task_refresh_thumbnail took 111.321633 ms

I wonder what would a chain of 'nearest to 25%' and 'best to exact WxH' bring in speed-wise. Or is there a way to do this stuff with GPU?

Last edited by brontosaurusrex (2017-11-14 20:08:15)

Online

#23 2017-11-15 10:33:23

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 358
Website

Re: TaskBar Preview?

I pushed a new version that is more optimized.

One code path requires a compositor, but bypasses cairo and performs custom filtering (using 7 sampled pixels from original image per thumbnail pixel + 2nd pass smoothing using 3 thumbnail pixels per final thumbnail pixel).

Otherwise we go through the usual cairo path. First we try best filtering; if it is slow, we switch the method to fast filtering (and we apply the 2nd pass smoothing). If the fast filtering turns up to be very fast later (maybe the CPU was busy before?), we switch back to best filtering. There is a hysteresis to avoid flapping back and forth.

Last edited by o9000 (2017-11-15 10:33:43)

Offline

#24 2017-11-15 11:39:04

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,199

Re: TaskBar Preview?

Looks way better imho, have some problems with libreoffice writer thumbnails.

inxi -G
Graphics:  Card: Intel Core Processor Integrated Graphics Controller
           Display Server: X.Org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1200@59.95hz
           GLX Renderer: Mesa DRI Intel Ironlake Desktop GLX Version: 2.1 Mesa 13.0.6

Usability wise, there should probably be a short delay between mouse-over and showing the thumb (perhaps user defined).

Last edited by brontosaurusrex (2017-11-15 11:40:15)

Online

#25 2017-11-15 12:24:38

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 358
Website

Re: TaskBar Preview?

Compton on?

LibreOffice looks fine here, but I will try on another system, maybe I can catch the problem.

Offline

Board footer

Powered by FluxBB