Bug#1065495: pekwm: debian/watch file fix

2024-03-05 Thread Baempaieo
Package: pekwm
Version: 0.1.18-1
Severity: important
Tags: patch

--
-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pekwm depends on:
ii  libc62.36-9+deb12u4
ii  libgcc-s112.2.0-14
ii  libjpeg62-turbo  1:2.1.5-2
ii  libpng16-16  1.6.39-2
ii  libstdc++6   12.2.0-14
ii  libx11-6 2:1.8.4-2+deb12u2
ii  libxext6 2:1.3.4-1+b1
ii  libxft2  2.3.6-1
ii  libxinerama1 2:1.1.4-3
ii  libxpm4  1:3.5.12-1.1+deb12u1
ii  libxrandr2   2:1.5.2-2+b1
ii  menu 2.1.49
ii  x11-utils7.7+5

pekwm recommends no packages.
--

Greetings,

According to the current issue under pekwm's package tracker (see:
https://tracker.debian.org/pkg/pekwm), it looks like the 'watch' file
isn't any able to retrieve any upstream version of the required package
(which, from what i have informed myself through the Debian Wiki page
for the 'debian/watch' entry, it's mainly an issue related to Github's
current changes- this having to adopt new methods to retrieve new
upstream versions).

As a way to contribute to the issue, the report has attached a brand new
'watch' file that should be working (this, by following the interested
Debian Wiki entries firsthand as a proper guideline) and retrieve the
current upstream version from the author's Github.

To note further, i have also tested the following file (again, by
following yet another Debian Wiki entry in regard) and it flags no
errors (sadly, i have no idea on how to attach 2 files via reportbug,
but i'll be glad to report the command's output in a reply- if asked).


I hope my contribution to the package will bring a great hand for this
wonderful distribution that is debian!
- Baempaieo
version=4
opts="\
searchmode=plain, \
filenamemangle=s%.*/v?@ANY_PACKAGE@%@PACKAGE@-$1.tar.xz%" \
https://api.github.com/repos/pekwm/pekwm/releases?per_page=50 \
https://api.github.com/repos/[^/]+/[^/]+/tarball/release-v?@ANY_VERSION@


Bug#1065369: pekwm: Randomly freezes when scrolling fast with the trackpad, unfreezes with any key pressed

2024-03-03 Thread Baempaieo
Package: pekwm
Version: 0.1.18-1
Severity: important
Tags: upstream newcomer



-
-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pekwm depends on:
ii  libc62.36-9+deb12u4
ii  libgcc-s112.2.0-14
ii  libjpeg62-turbo  1:2.1.5-2
ii  libpng16-16  1.6.39-2
ii  libstdc++6   12.2.0-14
ii  libx11-6 2:1.8.4-2+deb12u2
ii  libxext6 2:1.3.4-1+b1
ii  libxft2  2.3.6-1
ii  libxinerama1 2:1.1.4-3
ii  libxpm4  1:3.5.12-1.1+deb12u1
ii  libxrandr2   2:1.5.2-2+b1
ii  menu 2.1.49
ii  x11-utils7.7+5

pekwm recommends no packages.
-

Logs


There are no logs that reports or shows any of the anomalies/bug present
into PekWM- extending to dmesg and x11's error logs.


Steps to reproduce
==

# First scenario
* Open any program (ex. file manager, browser);
* Start scrolling with the trackpad/touchpad (side-scrolling or 2-finger 
scroll) at a fast speed;
* At a certain point, pekwm will start to freeze out of nowhere;
* The Window Manager should be unable to recognize any input, excluding any 
mouse movement;
* To temporarily resolve the issue, press any key on the keyboard- afterwards, 
the X-session should catch up with any input in a delayed way;

# Second scenario
* Open any program;
* Connect to the device a graphics tablet;
* Start using the device regularly with the stylus pointer, with any variable 
speed;
* PekWM will start freezing, still repeating the same behavior of any mouse 
event being ignored with the exclusion of mouse movements;
* Again, any key tap should resolve temporarily the issue + delayed input on 
X11's behalf;


Summary and Assumptions
===

The pattern seems to be related to any cursor input that is way too fast
to handle for PekWM, causing hang-ups.
As far as i have started diagnosing the main issue and excluding
probable causes to this behavior (like the compositor or the WM's
configurations):
the following seems to be agnostic to any of these elements.


Expected outcome


PekWM should recognize fast cursor input without issues and no hang-ups.


Suggestions & Patches
=

According to PekWM's upstream page, this issue has been reported to
upstream twice (see: https://github.com/pekwm/pekwm/issues/4 &
https://github.com/pekwm/pekwm/issues/104) and, despite any attempt to
fix the issue under v.0.1.18, newer releases of the following has
definitely fixed the following bug.

If there's a mantainer for PekWM under Debian, it would
be greatly appreciated if PekWM will get either an upgrade to v0.2.0 or
v0.3.0 (latest release, as of 23th Jaunary 2023) to mitigate the
following bug and starting the process to port it under the stable
branch- this avoiding to build the package from source and cause
probable conflicts with a current Debian install.

Thanks for the attention taken to this bug report,
Baempaieo