Giter Club home page Giter Club logo

Comments (12)

lupoDharkael avatar lupoDharkael commented on May 17, 2024

The "Open With" widget seems to have a problem as it should show the icons of every app.
I haven't tested Flameshot in hidpi screens as I don't own one myself but this really needs a fix.
I'm having exams soon but I'll be solving this when I have time.
I will need someone to test the fixes.

from flameshot.

axelmeunier avatar axelmeunier commented on May 17, 2024

Ping me if you need to test hidpi fixes.
Good luck for the exams

from flameshot.

holazt avatar holazt commented on May 17, 2024

Qt does not support HiDPI scaling until 5.6. You can try to use the environment variable QT_SCALE_FACTOR=2 to run flameshot scaled. Further you can use QT_AUTO_SCREEN_SCALE_FACTOR=1 to enable automatic scaling, based on the pixel density of the monitor.
Reference https://albertlauncher.github.io/docs/faq/

from flameshot.

lupoDharkael avatar lupoDharkael commented on May 17, 2024

The problem here are the hardcoded sizes for the custom widgets. I've done some work to make it scale but it's not finished yet. @axelmeunier Could you test if the size of the icons inside the buttons look natural?

from flameshot.

greys avatar greys commented on May 17, 2024

@lupoDharkael hi, is this (or similar) HiDPI support being worked on? I can't seem to control scaling with QT_SCALE_FACTOR at all in my Gnome-based setup...

Please let me know if any testing needs to be done - would like to help

from flameshot.

KAMiKAZOW avatar KAMiKAZOW commented on May 17, 2024

On Plasma the icons are very pixelated on HiDPI.

Screenshot_20200223_230340

cc @guoyunhe

from flameshot.

dobreo avatar dobreo commented on May 17, 2024

On Plasma the icons are very pixelated on HiDPI.

Screenshot_20200223_230340

cc @guoyunhe

i have same problem
but i see one thing - in first run app icons was nice
but after icons gona pixelated
and also my screen setting set to 150% zoom

from flameshot.

Zeioth avatar Zeioth commented on May 17, 2024

@ZetaoYang you may be aware of this already, but QT_SCALE_FACTOR=2 and similar only work launhcing flameshot as 'flameshot'.

If you use

'flameshot gui'

to launch the program, the env vars are entirely ignored.

Should I open an issue?

from flameshot.

mmahmoudian avatar mmahmoudian commented on May 17, 2024

@Zeioth I tried on Manjaro KDE plasma based on the KDE user manual and rebooted the computer after that (logging out was suffice but I wanted to leave nothing to chance). I could not reproduce it. Regardless of either of the following approaches, all the icons were with the same scale:

  • flameshot and then clicking on the tray icon
  • flameshot gui

from flameshot.

va-it avatar va-it commented on May 17, 2024

I had a similar problem on Ubuntu 20.04 with scaling set to 200%. If the application was opened any time after the OS had started, then all was well. But when starting flameshot on startup, then the icons during capture, the configuration panel etc. were really small. I have fixed the problem by using this command in the Startup Application Preferences app: bash -c "sleep 5 && flameshot"

from flameshot.

mmahmoudian avatar mmahmoudian commented on May 17, 2024

@va-it it seems the scaling on your Ubuntu (assuming it is Gnome?) happens way after the startup programs are started (which is weird to me as logically they should start after the window manager is fully loaded).

from flameshot.

tuananh avatar tuananh commented on May 17, 2024

QT_SCALE_FACTOR=2 works for me

from flameshot.

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.