[kate] [Bug 442060] Mac OS Trackpad scroll buggy
Adrian Damian
bugzilla_noreply at kde.org
Tue Oct 5 13:30:37 BST 2021
https://bugs.kde.org/show_bug.cgi?id=442060
Adrian Damian <damian.adrian24 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REPORTED |CONFIRMED
Ever confirmed|0 |1
--- Comment #7 from Adrian Damian <damian.adrian24 at gmail.com> ---
OK, I think I managed to narrow down the issue to these two commits. Reverting
them makes the scroll stutter / stop (while still two-finger scrolling on the
trackpad) go away.
https://invent.kde.org/frameworks/ktexteditor/-/commit/8f8be67ccf5b151d4c6cc570229fe4fbe28e76b3
"Add basic touchscreen support"
https://invent.kde.org/frameworks/ktexteditor/-/commit/aa757c80e6ce8efee288c58154998d4e8e0f0dde
"Use Okular's QScroller settings"
I used the latest versions of libraries:
kde/applications/kate : 21.08.1
kde/frameworks/tier3/ktexteditor : 5.86.0
I don't really know how to fix this, other than reverting the two commits (but
that would remove touchscreen support). Is reverting OK?
For now I'll keep using my own build.
---
For anyone that's affected by this, here's how to make your own build:
* Install Craft:
https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Mac#Installation_using_Craft
(commands below assume the default ~/CraftRoot path was used).
* AFAICT, this "installs" the two packages (kate uses ktexteditor) in a way
that allows the sources to be edited (at
~/CraftRoot/build/$full_package_name/work/$package-$version).
craft -i --no-cache kate ktexteditor
* Remove the lines added in the two commits above from these files:
~/CraftRoot/build/kde/frameworks/tier3/ktexteditor/work/ktexteditor-5.86.0/src/view/kateviewinternal.cpp
~/CraftRoot/build/kde/frameworks/tier3/ktexteditor/work/ktexteditor-5.86.0/src/view/kateviewinternal.h
The versions may vary, you can go to the directory that contains src/ by
doing "cs ktexteditor".
* Compile the changes and create an installer:
craft --compile --install --qmerge ktexteditor kate && craft --package kate
The path to a .dmg should be output at the end; should be something like:
~/CraftRoot/tmp/kate-21.08.1-macos-64-clang.dmg
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list