Bug 429140 - Latte Dock is unclickable when PLASMA_USE_QT_SCALING is set to 1
Summary: Latte Dock is unclickable when PLASMA_USE_QT_SCALING is set to 1
Status: RESOLVED DUPLICATE of bug 444222
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-15 11:13 UTC by K Gopal Krishna
Modified: 2021-10-24 13:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.54 KB, text/plain)
2021-08-12 08:48 UTC, Artur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description K Gopal Krishna 2020-11-15 11:13:32 UTC
SUMMARY

When unset, Latte Dock works as expected but when the variable is set, Latte Dock does not respond to either left or right clicks.

STEPS TO REPRODUCE

1. Create ~/.config/autostart-scripts/scaling.sh with the following content:

  #!/bin/sh
  export PLASMA_USE_QT_SCALING=1

2. Make it executable and create a symlink at ~/.config/plasma-workspace/env/
3. Logout and log back in

OBSERVED RESULT

Latte Dock stops responding to clicks / none of the applets or the entire UI is clickable.

EXPECTED RESULT

Latte Dock working normally.

SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.8-arch1-1
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz
Memory: 31.2 GiB of RAM
Graphics Processor: GeForce GTX 1060 with Max-Q Design/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Artur 2021-08-12 08:48:51 UTC
Created attachment 140660 [details]
New crash information added by DrKonqi

latte-dock (0.10.0) using Qt 5.15.2

- What I was doing when the application crashed:

The application crashes during the system start up.

- Unusual behavior I noticed:

- Custom settings of the application:

I have set "PLASMA_USE_QT_SCALING=1" environment variable. This variable changes behaviour of the application.

The application was crashing with the official ArchLinux package. I have compiled it my self to get useful backtraces. The bug still present.

In addition I am using Window AppMenu (v0.7.1) and Active Window Control (v1.1) widgets.

-- Backtrace (Reduced):
#4  QString::QString (other=..., this=this@entry=0x7ffdc61b0010) at /usr/include/qt/QtCore/qstring.h:1093
#5  Latte::Layout::AbstractLayout::name (this=0x0) at /usr/src/debug/latte-dock-0.10.0/app/layout/abstractlayout.cpp:204
#6  0x0000558f461e1ca7 in Latte::Layouts::Synchronizer::currentLayoutsNames (this=<optimized out>) at /usr/src/debug/latte-dock-0.10.0/app/layouts/synchronizer.cpp:202
#7  0x0000558f461ca653 in Latte::Layouts::Manager::currentLayoutsNames (this=<optimized out>) at /usr/src/debug/latte-dock-0.10.0/app/layouts/manager.cpp:155
#8  0x0000558f46227940 in Latte::Settings::Controller::Layouts::initLayouts (this=this@entry=0x558f480525f0) at /usr/src/debug/latte-dock-0.10.0/app/settings/settingsdialog/layoutscontroller.cpp:582
Comment 2 Artur 2021-08-12 08:54:16 UTC
Yes, as well as previous reporter noted Latte Dock does not react to  mouse input after manual restart after start up crash.
Comment 3 Michail Vourlakos 2021-08-12 09:02:16 UTC
I wont even look at it because Plasma is not really providing an official way to support screen scaling under X11. You can ask them if you want, the use of PLASMA_USE_QT_SCALING=1 is not advised and supported by Plasma team.

So for scaling related issues under x11 first Plasma should define which way is officially supported in order for Latte afterwards to follow.

Until then all scaling issues under x11 are considered irrelevant.
Comment 4 Michail Vourlakos 2021-10-24 13:40:14 UTC
fixed today...

*** This bug has been marked as a duplicate of bug 444222 ***