Bug report #12671
Cursor icon is too small on HiDPI screen
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||20778|
Cursor icon size is hardcoded to 16x16 in many parts of the code (for example: https://github.com/qgis/QGIS/blob/master/src/app/qgisapp.cpp#L2317)
this makes the cursor very difficult to see.
The modification I suggest is to add a new QgsApp method that returns the zoom factor, calculated on a 96 dpi base, this will allow to resize all GUI parts by multiplying by the zoom factor.
To get current DPI you can use (Python code):
The very same method could be used to resize icons and other GUI elements.
#5 Updated by Alessandro Pasotti almost 2 years ago
- Description updated (diff)
I have a working prototype and I can fix the C++ side for cursor icons that are
but I'm not that good at SVG for creating the icons themselves any volunteer?
we need the icons that are listed in this file: