Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desktop Zoom #188

Open
hpk2987 opened this issue Apr 5, 2014 · 34 comments
Open

Desktop Zoom #188

hpk2987 opened this issue Apr 5, 2014 · 34 comments

Comments

@hpk2987
Copy link

hpk2987 commented Apr 5, 2014

Im not totally sure if this is a feature provided by the composite manager but considering that compiz,kwin,etc.. are able to zoom an area of the screen, i wanted to know if such feature could be implemented in compton.

@richardgv
Copy link
Collaborator

Such feature could be implemented in compton, though I'm not interested in it. There are some standalone magnifiers around (e.g. kmag, gnome-mag) and I don't think reinventing the wheel is necessary. kmag works pretty well with compton right now, as far as I would see.

@Azelphur
Copy link

kmag is nowhere near as good/usable as compiz ezoom. Kmag is a standalone window while compiz actually magnifies the whole screen and follows the mouse, take a look at https://www.youtube.com/watch?v=jJ_Oee_l7uI&t=0m36s to see how ezoom works, it's far, far better than kmag.

@proycon
Copy link

proycon commented Dec 23, 2014

I'd be interested in this feature as well

@richardgv
Copy link
Collaborator

@Azelphur:

By the way, KMag has a follow mouse mode ("Settings" menu -> "Follow mouse mode"), although it does not work in the way Compiz's does. I found KMag pretty convenient already in presentation, though.

@dicktyr
Copy link

dicktyr commented Feb 20, 2015

I also wish for full-screen zoom/pan which I came to appreciate years ago using a hardware implementation in the graphics card

I find it primarily useful to simply toggle between 100% and 200% when I need per-pixel accuracy (and when showing something to friends with poor eyes)

xrandr can do something similar, but it changes the mode and most displays interpolate at sub-native resolution (subverting the intent for pixel accuracy by blurring their boundaries)

@prologic
Copy link

As a visually impaired person (legaly blind) it is highly important that a compositing manager implement "full screen zoom" functionality ala Compiz Fusion's ezoom plugin. Desktop apps such as kmag or gnome-mag are not sufficient (in my experience). I presently use (and have done so for >~10 years) used a combination of CRUX + Xorg + Compilz Fusion (very old version / pre-Cannonical take-over) and XFCE.

@ivan-krukov
Copy link

Very much in favour of this. Would you accept a pull request?

@prologic
Copy link

If someone has the necessary experience and expertise to implement this (I don't) the minimum requirements IHMO are:

  • Full Desktop Zoom capabilities (not windowed, etc)
  • Zoom levels controlled by (for example) SUPER + SCROLL IN/OUT (Trackpad/Scrollwheel)
  • Panning continuously with the mouse pointer.

One should see and experience OS X's builtin Accessibility -> Zoom (Zoom Options -> Continuously with pointer

This is probably the most basic set of requirements. Once you have this nailed myself and other visually impaired persons could seek to use alternative desktop experiences using Compton and hopefully other window managers.

In a world where I am forced to maintain my own compiz fusion ports that are ancient versions because Canonical/Ubuntu took over the project and ruined it such that whatever Ubuntu's version is is utterly broken.

@Azelphur
Copy link

@ivan-krukov if you do do this, if possible please make zoom per-output (eg if I zoom in one one monitor, I don't zoom in on others, same behaviour as compiz fusion)

I'm not visually impaired but I always found this compiz feature incredibly useful. Surprised there aren't more people after this feature honestly.

@prologic
Copy link

I agree with @Azelphur on this one;. I've always wanted the ability to use desktop zoom on one screen while it's a normal 1x on the other so that when trying to show someone something they don't have to follow my crazy panning and zooming in/out! :)

@ivan-krukov
Copy link

Those are all great requirements. It seems that implementing this would take a fair amount of work, though.

@prologic
Copy link

@ivan-krukov You would be my hero haha :)

@alxlion
Copy link

alxlion commented Nov 20, 2015

I need it for presentations. It's really lacking.

@ivan-krukov
Copy link

I have looked into a compositor-agnostic solution, e.g. xrandr - which would allow this to work with or without a compositor. While possible solutions exist, they are not very usable.
@richardgv You mention that 'such feature could be implemented in compton'. What would be a place to start?

@roman-holovin
Copy link

It would be nice to have a feature where you can write a rule for a window and apply certain level of zoom to it. I want to make legacy games on hidpi look even more pixelated than they are now :)

Something like

scale=2
scale-rule=[ same type of rules as everywhere else in compton ]

@ghost
Copy link

ghost commented Feb 23, 2016

+1 (I will never leave osx unless I can zoom like osx)

  • How else can I safely operate my machinery which is 3m away from me whilst I am in bed?!

No ugly effects or shit all around, just zoom in and out - like this:
https://youtu.be/hawAAdiZ0hE?t=11s

@techmouse
Copy link

I was taking a very close look at compton today but the deal breaker was no desktop zoom. I have terrible vision so desktop zoom is a 'must'. I really hope compton gets this addition.

@ryukinix
Copy link

ryukinix commented Jul 26, 2016

This will be implemented someday? Compton is better xfwm in various ways, but zoom is very very very VERY useful and I miss it.

@prologic
Copy link

I dunno what that last comment was about; but Full Desktop Zoom as in what OS X and Compiz Fusion's eZoom provide is vital to any vision impaired person using Linux on the Desktop/Laptop.

As a vision impaired person myself; I now find myself in a position where I can no longer sustain and use Linux on the Desktop/Laptop anymore for lack of good accessibility support in terms of providing full desktop zoom. I also have abandoned Linux on the Desktop/Laptop because I could not figure out a way to get the same crisp/sharp font rendering you get on OS X with Retina displays.

I'm afraid that until Linux catches up with Retina-like technology (however this actually works) and we get back maintained and supported full desktop zoom (Cannonical killed Compilz :/) users with vision impairment such as myself can no longer reasonable use Linux as their primary Desktop/Laptop.

@ViktorNova
Copy link

@prologic
Just FYI, KDE's Kwin (which can be used on any desktop environment) has the desktop zoom feature from Compiz, and looks pretty good on high DPI displays too, as many of it's UI elements scale. If you match the DPI in the font settings to the DPI of your screen, it looks really good (fonts suddenly become readable and look really good!)

@techmouse
Copy link

@prologic
I think abandoning Linux all together is a step too far in the opposite direction. Linux is still very powerful and personally it very much suits all my needs and gives me the power and control I want over my system. It would take a lot for any OS to tear me away from Linux. But that's subjective.

@ViktorNova
It sure does. It looks great too. But Kwin doesn't support zooming in/out with the mouse wheel and using keystrokes just feels unnatural IMO. But it's a fine suggestion and alternative for anybody who can overlook zooming in/out with the keyboard only.

In any case, one of Compton's big selling points was it's vsync support, seeing how it's one of the few window managers that do support it. But because Compton doesn't have desktop zoom, I'll be sticking with XFWM4 and just have to deal with no vsync for the time being. Hopefully either Compton will get desktop zoom or XFWM4 will get vsync.

@prologic
Copy link

Not having the same ability to zoom in/out with scroll wheel or touchpad
gestures would be a bit of a PITA :) But thanks for the Kwin tip. To be
fair I'm not abandoning LInux; just finding it very hard to use as a
Desktop OS compared to the accessibility that OS X provides out of the box
which for me I would have to spend a lot of effort getting the same
functionality with Compiz (old versions).

James Mills / prologic

E: prologic@shortcircuit.net.au
W: prologic.shortcircuit.net.au

On Tue, Jul 26, 2016 at 3:22 PM, Mouse notifications@github.com wrote:

@prologic https://github.com/prologic
I think abandoning Linux all together is a step too far in the opposite
direction. Linux is still very powerful and personally it very much suits
all my needs and gives me the power and control I want over my system. It
would take a lot for any OS to tear me away from Linux. But that's
subjective.

@ViktorNova https://github.com/ViktorNova
It sure does. It looks great too. But Kwin doesn't support zooming in/out
with the mouse wheel and using keystrokes just feels unnatural IMO. But
it's a fine suggestion and alternative for anybody who can overlook zooming
in/out with the keyboard only.

In any case, one of Compton's big selling points was it's vsync support,
seeing how it's one of the few window managers that do support it. But
because Compton doesn't have desktop zoom, I'll be sticking with XFWM4 and
just have to deal with no vsync for the time being. Hopefully either
Compton will get desktop zoom or XFWM4 will get vsync.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#188 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABOv-k1Eqm5Zje4Jf6d51UH8nEGnLwgfks5qZojCgaJpZM4Bv_QS
.

@ryukinix
Copy link

Any news?

@nrsimha
Copy link

nrsimha commented Jan 16, 2017

I would love this feature too. Are there any news, or some way how to get full desktop zoom in i3wm?

@grepsuzette
Copy link

grepsuzette commented Feb 8, 2017

+1. I also prefer the OSX way, i.e. with no UI at all, just Alt+scrollup/down.

However maybe compton doesn't even need to deal with keys and the mouse. It could be done in the same way as dbus-examples/inverter.sh.

dbus-examples/inverter.sh when receiving a certain message by dbus will invert for the colors for a certain window.

E.g. you launch compton with compton -b --backend glx --dbus and a simple bash script can then send a message through dbus to invert the screen.

So for the Zoom feature, compton could also use glx and dbus and simply react to a few parameters, such as (I just made those up):

  1. mouse_absX
  2. mouse_absY
  3. zoom_factor

Programmers can then figure out how to do the binding for their different WM. I think it's hard already, but this way compton doesn't have to deal with the keys and the mouse.

@ohm314
Copy link

ohm314 commented May 6, 2017

I too would be very interested in such a feature. As many have already said, visually impaired linux users are stuck with a semi-working or outdated version of compiz or rather simplistic magnifier apps like kmag. Nothing near the macos accessibility features!

Is there really no one from the compton developer community interested in at least taking a look at it and figuring out what would be needed to implement such a feature?

@syslino
Copy link

syslino commented Jul 31, 2017

As a web developer I help myself with xzoom, but i'ts a pain to use. Full Desktop Zoom would be greatly appreciated!

@tobia
Copy link

tobia commented Aug 30, 2017

To anybody who might want to work on this feature: please add a toggle switch to disable anti-aliasing or bilinear filtering or whatever it's called, while you're at it. As a web developer, my main use case for zoom is to inspect pixel-level rendering and the "filtered" zoom that most compositors provide is a nuisance. I'm stuck with xzoom for this reason.

By the way, Apple got it right and added this very option in the accessibility pane.

@dicktyr
Copy link

dicktyr commented Aug 30, 2017 via email

@rien333
Copy link

rien333 commented Jul 22, 2018

It's honestly pretty bad that people that are visually impaired but want to use FoSS/non-bloat stuff can't do this (in a nice and simple, macOS like manner which is general enough of an experience to fit with basically every DE/WM). Is there maybe something like a patreon/bounty thing we can setup for this? I myself don't really have the skillset or knowledge to implement this atm

@joelostblom
Copy link

Full desktop zoom via the mouse wheel would be highly useful when teaching!

This video shows how the desktop zooming looks in xfwm4.

@blackoutworm
Copy link

I agree. Until you implement this feature, I am gonna be stuck with Compiz.
I have tried around 20 zoom apps in Linux. And Compiz is the only useful one where you can mousewheel scroll and customize to your liking. The rest of em are pretty much useless.
Some of them allow desktop zooming, but you have to preset zoom sizes. This doesn't work for people who need to zoom in / out depending on text size, day/night etc.

@Bielecki
Copy link

Still nothing?

@frnsys
Copy link

frnsys commented Jul 10, 2019

fwiw, there is a more active fork here: https://github.com/yshui/compton

tryone144 pushed a commit to tryone144/compton that referenced this issue Dec 20, 2019
Don't count the number of blur kernels everytime.

Fixes chjj#188

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests