Code Monkey home page Code Monkey logo

Comments (18)

ntnsndr avatar ntnsndr commented on May 27, 2024 12

Allow me to just throw my hat in as a +1 for the Ctrl +/-/0 feature request, or something similar.

from tangram.

bennypowers avatar bennypowers commented on May 27, 2024 3

This is a critical accessibility issue. Every browser should allow users to scale their own fonts. Please put "GNOME design principles" or whatever aside and put this issue on the roadmap. Every other browser has this.

from tangram.

sonnyp avatar sonnyp commented on May 27, 2024 3

put "GNOME design principles" or whatever aside

What are you talking about? Did you even read the discussion?

put this issue on the roadmap

If you had made the effort of reading the discussion instead of making demands, you would have seen that I already agreed to the feature request in the first comment.

This is free software, I don't owe you anything and since you happen to be a developer:

Please put the feature on your to-do list and get it done.

from tangram.

sonnyp avatar sonnyp commented on May 27, 2024 1

Thanks for the feedback

Debian 10 user. Here in "oldkerneland", we don't have fractional scaling, only 100-200% dpi, so I'm not willing to loose half of my screen on menus, haha.

In case you are interested, here are the instructions to enable fractional scaling - yes even for oldkerneland :)

https://wiki.archlinux.org/index.php/HiDPI#Fractional_scaling

https://www.linuxuprising.com/2019/04/how-to-enable-hidpi-fractional-scaling.html

The second two options (Settings -> Accessibility -> Large Text and GNOME Tweaks doesn't seem to work on Tangram (flatpak) content.

Strange - works for me but ok if that's not what you want it doesn't matter I guess.

Fair - I will consider implement Zoom in/out then if nothing else works out

Meanwhile, if anyone is interested in giving it a try I'm happy to assist - should be fairly easy if you have a minimum knowledge of JavaScript.

from tangram.

sonnyp avatar sonnyp commented on May 27, 2024

I have set systemwide scaling a bit up, but not enough for tangram to become quite usable

Does it mean Tangram doesn't behave the same as other applications on your system? Can you be more specific about your system and what kind of scaling you applied?

In firefox I've got it set to default to 120% zoom.

So I get your scaling doesn't work for Firefox?

It would be useful if Tangram responded to the usual zoom hotkeys (ctrl+, ctrl-, and ctrl-mousewheel),

Agree (and ctrl0 to reset). GNOME Web supports ctrl+/ctrl-/ctrl0 so it should be trivial. ctrl+mousewheel - not sure.

Would you like to give it a try? I'm happy to give some pointers.

from tangram.

psydvl avatar psydvl commented on May 27, 2024

I'm using AUR version with KDE on Manjaro.
Tangram have another scale than Firefox/Chrome.
I have Global scale 125% what have effect on all apps, but looks like not for Tangram.
Ctrl+/Ctrl- not work; only for developer console scale(CtrlshiftI), not for service page. Ctrl+mousewheel not works at all

from tangram.

sonnyp avatar sonnyp commented on May 27, 2024

On Fedora 32; Tangram responds to GNOME/Wayland scaling.

Can you reproduce the issue with GNOME Web flatpak?

from tangram.

zerodogg avatar zerodogg commented on May 27, 2024

This isn't actually a bug, I should perhaps have been clearer. It responds to scaling, it's just that I can't put systemwide scaling as high as Tangram would need it to be, because then gnome-shell's top bar becomes much larger than I'd like. Thus, having a separate zoom inside of Tangram would be a solution (and it is the solution I've used in firefox).

from tangram.

sonnyp avatar sonnyp commented on May 27, 2024

So I learned a bit more about this.

There are 2 scaling factors in GNOME / Mutter

The first one is scaling factor Settings -> Displays -> Scale to which Tangram should respond well.

The second one is the font scaling factor; Settings -> Accessibility -> Large Text or GNOME Tweaks -> Fonts -> Scaling Factor

According to https://webkitgtk.org/2021/01/12/webkitgtk2.31.1-released.html - WebkitGTK 2.32 will improve the second. However Epiphany 3.38.2 with WebkitGTK 2.30.4 already seems to respond to font scaling factor well so I'm not sure what this is about - I will look into it if needed.

@psydvl can you please open a separate ticket? It looks unrelated

@zerodogg would global font scaling factor solve your issue?

I'm not against having zoom control in Tangram but I don't really have a need for it myself so perhaps we can find an other solution.

However, if you'd like to give implementation a try - I'd be happy to help and provide guidance.

from tangram.

PolGZ avatar PolGZ commented on May 27, 2024

Debian 10 user. Here in "oldkerneland", we don't have fractional scaling, only 100-200% dpi, so I'm not willing to loose half of my screen on menus, haha.

The second two options (Settings -> Accessibility -> Large Text and GNOME Tweaks doesn't seem to work on Tangram (flatpak) content. Nor I think that would be a viable option, because I find the general appearance of the system quite big and ugly looking, IMHO. I don't think that menus that I rarely read, bar titles and so on need to be as big as a text that I would want to read with attention for a couple of minutes or even more.

Also, maybe I am weird, but I do constantly change zoom levels on my browser. Not every web is the same, sometimes I'm laying back on my chair reading mainly "text" content and I'm more than 1m away (eye to screen), sometimes I'm closer and there are a lot of pictures that I want to see more of them at the same time so I zoom out, etc. In my case, reddit and twitter/mastodon are really painful to read, so it kind of looses the point of Tangram. I really like the concept, and I will continue to have it installed as a way to quickly check if I have notifications on multiple accounts, etc., but if I'm going to dedicate a few moments to reddit, I need to open my browser for now.

Epiphany/GNOME Web (flatpak) does work with Cntrl + +/-

from tangram.

PolGZ avatar PolGZ commented on May 27, 2024

In case you are interested, here are the instructions to enable fractional scaling - yes even for oldkerneland :)
https://wiki.archlinux.org/index.php/HiDPI#Fractional_scaling

I didn't know about that possibility! Thanks to point it out. But, unfortunately, at least under Wayland, the result is too bad! Everything is very pixelated and blurry. I haven't tried on X11 (because the integration of the megasync app on Gnome X11 is really annoying (it doesn't minimize to tray icon only) and I have it on autostart, so I'm stuck in Wayland).

Strange - works for me but ok if that's not what you want it doesn't matter I guess.

I have checked that the behaviour for text/fonts options is the same under X11, in case it was something of Wayland. I don't know what different things I could try.

Fair - I will consider implement Zoom in/out then if nothing else works out

For now, it seems that the rest of the options don't work with the flatpak version under Debian 10 (Gnome 3.30.2). So that would be very much appreciated.

P.S.: I also think that options relying on the GNOME global settings shouldn't be considered a solution. I know it is not often that you see window-managers users running flatpaks... but I sometimes enjoy using AwesomeWM (in fact, that's the main environment I run on my (very) old Arch laptop, because it really makes a difference in performance. Now with the pandemic I'm home all the time, but if I want to use my laptop, I would just enjoy using Tangram without thinking about anything else, even if it is a bit slow to start, and zoom-in/out just if I need it). I mean, part of the idea about going flatpak, should be the ability of cross-distro/DE.

I really don't want to be very peaky. But I believe that an intrinsic value of "running web apps on your desktop" should be making the experience more convenient than having to open a full browser. So the ability to read comfortably is kind of a big part. (Maybe I'm to "old-fashioned" and I like RSS too much because of how clean they are and the fact that they are "just text" that I can read "BIG!" (lol! meaning at a certain distance from the screen, trying to avoid short-sightedness as much as possible) and without adds distractions and what not)

from tangram.

bear454 avatar bear454 commented on May 27, 2024

I'm in just about the same boat as @zerodogg ... running browsers at 120% zoom, to get text size to match the rest of the desktop.

I added an ENV var to the tangram .desktop file, so I'm running flatpak run --env=GDK_DPI_SCALE=1.2 re.sonny.Tangram ... which accomplishes the same thing.

While it would be nice to have the zoom controls match what's implemented in gnome-web, I'm happy I've got a way to get the size right (and won't be futzing with it much).

from tangram.

guss77 avatar guss77 commented on May 27, 2024

I'm running on KDE with a QHD display without scaling, and while both Firefox and Chrome look fine, both Tangram and Epiphany have tiny fonts to the point that it is almost unreadable. The rest of the UI looks fine.

I added an ENV var to the tangram .desktop file, so I'm running flatpak run --env=GDK_DPI_SCALE=1.2 re.sonny.Tangram ... which accomplishes the same thing.

That didn't do anything for me.

tangram-hangouts

As can be seen in the screenshot, the font-size is reported as 9px. I think it is not even 9px, but interestingly the CSS shows it should be 24px and also changing the font size manually in the inspected doesn't affect the computed size...

from tangram.

guss77 avatar guss77 commented on May 27, 2024

My issue seems to be about missing an xsettings daemon in the Plasma session. There's a minimal settings daemon (xsettingsd) but that apparently doesn't provide the correct settings. I'm still looking at it, but don't worry about my issue here.

from tangram.

jiri-one avatar jiri-one commented on May 27, 2024

Yes, I am not able to use Tangram, I always need to adjust size of fonts in opened pages - Its not problem in Ferdi, Rambox, Franz or on Epiphany (like Web on Gnome) which I am using in app mode for this now.

from tangram.

forteller avatar forteller commented on May 27, 2024

I came to Github after trying v2.0 for a few minutes, just to request this feature. I take the chance on commenting, since I see it's been a while without any developments here. Thanks for a great tool, which would be even greater if it was easy to make the text more readable for everyone, no matter their screen resolution or eyesight :)

from tangram.

guerrilla avatar guerrilla commented on May 27, 2024

I would really like zooming because Telegram seems to be a different size compared to FB Messenger and WhatsApp. It would be nice to set the zoom for each application separately (wither with ctrl-/+ or scrollwheel)

By the way thanks for this app! It's a life saver.

from tangram.

RushingAlien avatar RushingAlien commented on May 27, 2024

Hello,

I think what people are saying is zoom in in the style if you press ctrl, + in browsers. This is treu for the likes of Electron apps and Ferdium, also browsers like Firefox and Chromium

Screencast.dari.2023-09-29.13-39-22.webm

from tangram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.