[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-18 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #29 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2644

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-18 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #28 from Fushan Wen  ---
Git commit 14c5b464f41f2b858453fd102ed57397755f9c26 by Fushan Wen.
Committed on 18/02/2023 at 09:50.
Pushed by fusionfuture into branch 'cherry-pick-cdf2e1a9'.

Revert "Revert "startplasma-wayland: Don't set GDK_SCALE and GDK_DPI_SCALE""

This reverts commit 34e3efd85252182977178ab99435b99a1ba987b9 and
bd9c257dcdf050f74a691c31663cbca68ce8d8e7
Related: bug 465733


(cherry picked from commit cdf2e1a9abf7cdee24828f59aa7cc2295dee4877)

M  +0-12   startkde/startplasma-wayland.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/14c5b464f41f2b858453fd102ed57397755f9c26

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-18 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #27 from Fushan Wen  ---
Git commit cdf2e1a9abf7cdee24828f59aa7cc2295dee4877 by Fushan Wen.
Committed on 18/02/2023 at 09:28.
Pushed by fusionfuture into branch 'master'.

Revert "Revert "startplasma-wayland: Don't set GDK_SCALE and GDK_DPI_SCALE""

This reverts commit 34e3efd85252182977178ab99435b99a1ba987b9 and
bd9c257dcdf050f74a691c31663cbca68ce8d8e7
Related: bug 465733

M  +0-12   startkde/startplasma-wayland.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/cdf2e1a9abf7cdee24828f59aa7cc2295dee4877

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-18 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #26 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2643

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Maciej Stanczew
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #25 from Maciej Stanczew  ---
> With https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2636, 
> you'll be able to override it yourself.
I'm looking for a way to unset the variables completely, not set them to a
different value.

> You can also manually set it in the desktop files of apps that need it.
True, but very inelegant, to now have to manually edit .desktop files to revert
a hack made for another application.

It looks like the only sensible solution is to recompile plasma-workspace with
this change removed :/

Anyway, I'll go and submit a new bug report specifically for my use case with
Steam, it'll be easier to handle it in isolation.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

Nate Graham  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
   |bd9c257dcdf050f74a691c31663 |20c7e8826ca846b5155f17d6281
   |cbca68ce8d8e7   |43e4546998c1c

--- Comment #24 from Nate Graham  ---
Git commit 20c7e8826ca846b5155f17d628143e4546998c1c by Nate Graham.
Committed on 17/02/2023 at 01:12.
Pushed by ngraham into branch 'Plasma/5.27'.

startplasma-wayland: allow people to override GDK_* envars

Now that we're setting these ourselves again, we need to add the
ability to override them if needed. This commit does that.
FIXED-IN: 5.27.1


(cherry picked from commit bd9c257dcdf050f74a691c31663cbca68ce8d8e7)

M  +8-2startkde/startplasma-wayland.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/20c7e8826ca846b5155f17d628143e4546998c1c

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|5.26.3  |5.27.1
  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
   |9ec6cf47a30fbdc4c64b7b0a0b4 |bd9c257dcdf050f74a691c31663
   |fb446f9d2904c   |cbca68ce8d8e7
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #23 from Nate Graham  ---
Git commit bd9c257dcdf050f74a691c31663cbca68ce8d8e7 by Nate Graham.
Committed on 17/02/2023 at 00:31.
Pushed by ngraham into branch 'master'.

startplasma-wayland: allow people to override GDK_* envars

Now that we're setting these ourselves again, we need to add the
ability to override them if needed. This commit does that.
FIXED-IN: 5.27.1

M  +8-2startkde/startplasma-wayland.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/bd9c257dcdf050f74a691c31663cbca68ce8d8e7

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #22 from Nate Graham  ---
You can also manually set it in the desktop files of apps that need it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #21 from Nate Graham  ---
With https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2636,
you'll be able to override it yourself.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Maciej Stanczew
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #20 from Maciej Stanczew  ---
Will there be a possibility to leave those variables unset, or to have them be
automatically synchronized with KScreen's scale setting?
Steam correctly determines what scaling should it use when GDK_SCALE is not
set. Having GDK_SCALE=1 breaks this, and Steam will be always scaled to 100%.
I could of course set GDK_SCALE=2 globally, but then it adds another place of
maintenance -- if at any time I change the scaling in KScreen, I'll need to
remember to also change it in GDK_SCALE.
I don't use any Electron apps, so I'd prefer to go with the simplest approach
of unsetting GDK_SCALE. But now it seems it will be impossible, since those
overrides are done after all the other variable-setting places are processed
(e.g. /etc/profile or ~/.config/plasma-workspace/env).

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #19 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2636

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

Nate Graham  changed:

   What|Removed |Added

   Assignee|k...@davidedmundson.co.uk|n...@kde.org
 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

Nate Graham  changed:

   What|Removed |Added

 Status|RESOLVED|REPORTED
 Resolution|FIXED   |---
 Ever confirmed|1   |0

--- Comment #18 from Nate Graham  ---
The change to fix this had to be reverted. Re-opening. Will find a better way
to do it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #17 from Nate Graham  ---
Git commit ba49bb121d7d6752b61aec29ae01a13e7978bd26 by Nate Graham.
Committed on 16/02/2023 at 21:47.
Pushed by ngraham into branch 'Plasma/5.27'.

Revert "startplasma-wayland: Don't set GDK_SCALE and GDK_DPI_SCALE"

This reverts commit 63de3d6f1716a6924fa5924b5a57af4abaa4460f.

This change was incorrect and the original logic for it was backwards;
it was stated that keeping it causes non-GTK XWayland (e.g. Electron)
apps to be scaled incorrectly. But in fact the opposite was true;
getting rid of it was what causes them to be scaled incorrectly! This
mistake was made due to due to the presence of a loca workaround on my
system that inverted the behavior.
Related: bug 465733
FIXED-IN: 5.27.1


(cherry picked from commit 34e3efd85252182977178ab99435b99a1ba987b9)

M  +6-0startkde/startplasma-wayland.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/ba49bb121d7d6752b61aec29ae01a13e7978bd26

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #16 from Nate Graham  ---
Git commit 34e3efd85252182977178ab99435b99a1ba987b9 by Nate Graham.
Committed on 16/02/2023 at 21:43.
Pushed by ngraham into branch 'master'.

Revert "startplasma-wayland: Don't set GDK_SCALE and GDK_DPI_SCALE"

This reverts commit 63de3d6f1716a6924fa5924b5a57af4abaa4460f.

This change was incorrect and the original logic for it was backwards;
it was stated that keeping it causes non-GTK XWayland (e.g. Electron)
apps to be scaled incorrectly. But in fact the opposite was true;
getting rid of it was what causes them to be scaled incorrectly! This
mistake was made due to due to the presence of a loca workaround on my
system that inverted the behavior.
Related: bug 465733
FIXED-IN: 5.27.1

M  +6-0startkde/startplasma-wayland.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/34e3efd85252182977178ab99435b99a1ba987b9

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-02-16 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #15 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2635

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2023-01-01 Thread Dennis Schridde
https://bugs.kde.org/show_bug.cgi?id=443215

Dennis Schridde  changed:

   What|Removed |Added

 CC||devuran...@gmx.net

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-11-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

Nate Graham  changed:

   What|Removed |Added

  Component|general |Startup process
 CC||k...@davidedmundson.co.uk

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-11-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

Nate Graham  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
   |63de3d6f1716a6924fa5924b5a5 |9ec6cf47a30fbdc4c64b7b0a0b4
   |7af4abaa4460f   |fb446f9d2904c

--- Comment #14 from Nate Graham  ---
Git commit 9ec6cf47a30fbdc4c64b7b0a0b4fb446f9d2904c by Nate Graham.
Committed on 02/11/2022 at 18:01.
Pushed by ngraham into branch 'Plasma/5.26'.

startplasma-wayland: Don't set GDK_SCALE and GDK_DPI_SCALE

We did this to work around a bug whereby envars would be inappropriately
propagated when going from X11 to Wayland, causing GTK apps to be scaled
to too large a size

However this no longer appears to be an issue with any of the GTK apps I
tested (Blanket, Bustle, Cheese, Chromium, Firefox, Gedit, GIMP, GNOME
Sudoku, Inkscape, Peek, Video Downloader), and keeping it causes a bug
whereby non-GTK XWayland apps that perhaps inappropriately look at
these envars to determine their scale are scaled too small.

This hack has outlived its usefulness; let's kill it.
FIXED-IN: 5.26.3


(cherry picked from commit 63de3d6f1716a6924fa5924b5a57af4abaa4460f)

M  +0-3startkde/startplasma-wayland.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/9ec6cf47a30fbdc4c64b7b0a0b4fb446f9d2904c

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-11-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

Nate Graham  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-workspace/commit/
   ||63de3d6f1716a6924fa5924b5a5
   ||7af4abaa4460f
   Version Fixed In||5.26.3

--- Comment #13 from Nate Graham  ---
Git commit 63de3d6f1716a6924fa5924b5a57af4abaa4460f by Nate Graham.
Committed on 02/11/2022 at 17:29.
Pushed by ngraham into branch 'master'.

startplasma-wayland: Don't set GDK_SCALE and GDK_DPI_SCALE

We did this to work around a bug whereby envars would be inappropriately
propagated when going from X11 to Wayland, causing GTK apps to be scaled
to too large a size

However this no longer appears to be an issue with any of the GTK apps I
tested (Blanket, Bustle, Cheese, Chromium, Firefox, Gedit, GIMP, GNOME
Sudoku, Inkscape, Peek, Video Downloader), and keeping it causes a bug
whereby non-GTK XWayland apps that perhaps inappropriately look at
these envars to determine their scale are scaled too small.

This hack has outlived its usefulness; let's kill it.
FIXED-IN: 5.26.3

M  +0-3startkde/startplasma-wayland.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/63de3d6f1716a6924fa5924b5a57af4abaa4460f

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-10-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=443215

flor...@bloody-water.de changed:

   What|Removed |Added

 CC||flor...@bloody-water.de

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-10-28 Thread Dmitriy
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #12 from Dmitriy  ---
I've found small workaround to use GDK_SCALE and GDK_DPI_SCALE. Editing desktop
entry files (*.desktop) helps. For example:

[Desktop Entry]
Name=FileZilla
GenericName=FTP client
GenericName[da]=FTP-klient
GenericName[de]=FTP-Client
GenericName[fr]=Client FTP
Comment=Download and upload files via FTP, FTPS and SFTP
Comment[da]=Download og upload filer via FTP, FTPS og SFTP
Comment[de]=Dateien über FTP, FTPS und SFTP übertragen
Comment[fr]=Transférer des fichiers via FTP, FTPS et SFTP
Exec=env GDK_DPI_SCALE=1.26 filezilla
Terminal=false
Icon=filezilla
Type=Application
Categories=Network;FileTransfer;
Version=1.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-10-28 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=443215

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #11 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2279

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-10-28 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=443215

Nate Graham  changed:

   What|Removed |Added

 Status|REOPENED|CONFIRMED
 CC||n...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-10-16 Thread Maciej Stanczew
https://bugs.kde.org/show_bug.cgi?id=443215

Maciej Stanczew  changed:

   What|Removed |Added

 CC||maciej.stancze...@gmail.com

--- Comment #10 from Maciej Stanczew  ---
I just updated to Plasma 5.26, and I wanted to use the new "Legacy Applications
(X11) scale by themselves" feature to get crisp scaling (instead of blurry
system-wide one) in Steam (I'm running Wayland).

According to discussion[1], Steam will use GDK_SCALE if it's set, or determine
correct scaling itself if GDK_SCALE is not set. I can confirm that: running
either "GDK_SCALE=2; steam" or "unset GDK_SCALE; steam" produces correctly
scaled UI (200% in my case).

However because Plasma overrides GDK_SCALE to 1, running just "steam" – or
using the .desktop file – will result in UI scaled to 100%, which is definitely
not what I would expect as a user.

[1] https://github.com/ValveSoftware/steam-for-linux/issues/4924

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-10-14 Thread Dmitriy
https://bugs.kde.org/show_bug.cgi?id=443215

Dmitriy  changed:

   What|Removed |Added

 CC||dimitri...@gmail.com

--- Comment #9 from Dmitriy  ---
(In reply to Vladislav Charickov from comment #8)
> I found a workaround
> 
> $ cat ~/.bash_profile 
> export GDK_DPI_SCALE=0
> export GDK_BACKEND=x11
> export GDK_SCALE=1
> 
>  With variable GDK_BACKEND=x11 apps show up fine
> 
> See: https://wiki.archlinux.org/title/Wayland#XWayland
> GTK
> The gtk3 and gtk4 packages have the Wayland backend enabled. GTK will
> default to the Wayland backend, but it is possible to override it to
> Xwayland by modifying an environment variable: GDK_BACKEND=x11.

not working

Operating System: Arch Linux
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6820HK CPU @ 2.70GHz
Memory: 62.8 ГиБ of RAM
Graphics Processor: NVIDIA GeForce GTX 980M/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GT72S 6QE
System Version: REV:1.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-03-15 Thread Vladislav Charickov
https://bugs.kde.org/show_bug.cgi?id=443215

Vladislav Charickov  changed:

   What|Removed |Added

 CC||charic...@gmail.com

--- Comment #8 from Vladislav Charickov  ---
I found a workaround

$ cat ~/.bash_profile 
export GDK_DPI_SCALE=0
export GDK_BACKEND=x11
export GDK_SCALE=1

 With variable GDK_BACKEND=x11 apps show up fine

See: https://wiki.archlinux.org/title/Wayland#XWayland
GTK
The gtk3 and gtk4 packages have the Wayland backend enabled. GTK will default
to the Wayland backend, but it is possible to override it to Xwayland by
modifying an environment variable: GDK_BACKEND=x11.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-02-14 Thread Sebastian Turzański
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #7 from Sebastian Turzański  ---
Maybe its a different case but might be related
I attached screenshots of Eclipse IDE and DBeaver apps. BOth are unusable on my
setup :
- plasma 5.24 on Opensuse Tumbleweed
- 4k screen
- 200%scaling

the issues you see on the screenshots are :
- decomposition of icons/menus
- unusable tables
- some scroll areas only take a quarter of the space available leaving
remaining canvas unused/wasted

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-02-14 Thread Sebastian Turzański
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #6 from Sebastian Turzański  ---
Created attachment 146714
  --> https://bugs.kde.org/attachment.cgi?id=146714=edit
gtk app unusable with wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-02-14 Thread Sebastian Turzański
https://bugs.kde.org/show_bug.cgi?id=443215

Sebastian Turzański  changed:

   What|Removed |Added

 CC||dpba...@wp.pl

--- Comment #5 from Sebastian Turzański  ---
Created attachment 146713
  --> https://bugs.kde.org/attachment.cgi?id=146713=edit
gtk unusable with wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-02-13 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=443215

David Edmundson  changed:

   What|Removed |Added

   Severity|normal  |wishlist

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2022-02-13 Thread Yao Nianqing
https://bugs.kde.org/show_bug.cgi?id=443215

Yao Nianqing  changed:

   What|Removed |Added

 CC||imbearch...@gmail.com
 Resolution|NOT A BUG   |---
 Status|RESOLVED|REOPENED
 Ever confirmed|0   |1

--- Comment #4 from Yao Nianqing  ---
(In reply to David Edmundson from comment #1)
> They are hardcoded to fix a bug.
> 
> On wayland scaling is set via the wayland protocol and there is no need for
> this.

Actually, hard-coding GDK_DPI_SCALE will make GTK applications not scaled when
using DPI settings of "Font" KCM. 

Under this case, QT applications will scale normally, while GTK applications
won't. So Firefox is affected by this, and an improperly scaled browser should
considered a bug too.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2021-10-12 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=443215

not...@gmail.com changed:

   What|Removed |Added

 CC||not...@gmail.com

--- Comment #3 from not...@gmail.com ---
I have the same problem. KDE wayland display scaling (i need 110%-120%) is
unusable because of heavy blurring.

QT apps are working ok with increasing the font, but GTK apps are too small
because of GDK_SCALE set to 1.

I think we are not the only users, because all full hd screens on 13"/14"
laptops need a small display scaling.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2021-10-03 Thread Liu Zhe
https://bugs.kde.org/show_bug.cgi?id=443215

--- Comment #2 from Liu Zhe  ---
(In reply to David Edmundson from comment #1)
> They are hardcoded to fix a bug.
> 
> On wayland scaling is set via the wayland protocol and there is no need for
> this.

Frankly speaking wayland scaling is unusably blur. And for small factor like
125% it's way better to scale font only, which is not supported by wayland
protocol to my knowledge.

I understand the bug it fixes but I believe a properly scaled browser is also a
must-have feature.

Can we make this behavior configurable? Via system settings or... dirty
workaround like PLASMA_GDK_DPI_SCALE.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 443215] GDK_SCALE and GDK_DPI_SCALE are hard coded and overwrite user config

2021-10-03 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=443215

David Edmundson  changed:

   What|Removed |Added

 Resolution|--- |NOT A BUG
 Status|REPORTED|RESOLVED

--- Comment #1 from David Edmundson  ---
They are hardcoded to fix a bug.

On wayland scaling is set via the wayland protocol and there is no need for
this.

-- 
You are receiving this mail because:
You are watching all bug changes.