termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
12.98k stars 2.98k forks source link

[Bug]: cutefish-calculator: Not displaying #13824

Open T-Dynamos opened 1 year ago

T-Dynamos commented 1 year ago

Problem description

I was building Cutefish #13527 and when qtgraphicaleffects was added I tried running it but window was white Images Screenshot_20221210-132452_VNC Viewer

Logs

❯ cutefish-calculator
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/data/data/com.termux/files/usr/tmp/runtime-u0_a200'
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
qml: load calc engine finished
qt.qpa.xcb: xcb_shm_create_segment() failed for size 770000

What steps will reproduce the bug?

Download artifacts install all and test

What is the expected behavior?

Should work

System information

termux-info:

Termux Variables:
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=19095
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirror.albony.xyz/termux/termux-main stable main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# sources.list.d/termux-desktop-xfce.list
deb [trusted=yes arch=all] https://Yisus7u7.github.io/termux-desktop-xfce/packages desktop-xfce extras
# x11-repo (sources.list.d/x11.list)
deb https://mirror.albony.xyz/termux/termux-x11 x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.33.1
Android version:
13
Kernel build information:
Linux localhost 4.9.330~hyper-v2.0-27ce2a5c #1 SMP PREEMPT Tue Nov 22 05:15:52 UTC 2022 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
Redmi Note 4
xtkoba commented 1 year ago

Works for me (on VNC server): cutefish-calculator

xtkoba commented 1 year ago

(Note that cutefish-calculator is not yet packaged. I didn't come up with a better title.)

T-Dynamos commented 1 year ago

Can you also test the terminal?

xtkoba commented 1 year ago

Sorry but I'm not a Termux user.

2096779623 commented 1 year ago
~/storage/downloads $ DISPLAY=:1 cutefish-statusbar
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/data/data/com.termux/files/usr/tmp/runtime-u0_a334'
qrc:/qml/main.qml:26:1: module "Cutefish.NetworkManagement" is not installed
     import Cutefish.NetworkManagement 1.0 as NM
     ^
qt.qpa.xcb: xcb_shm_create_segment() failed for size 102400

Screenshot_20221210-205659

Screenshot_20221210-205749

termux-info

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=8245
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirrors.utermux.dev/termux/apt/termux-main stable main
# root-repo (sources.list.d/root.list)
deb https://mirrors.utermux.dev/termux/apt/termux-root root stable
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# x11-repo (sources.list.d/x11.list)
deb https://mirrors.utermux.dev/termux/apt/termux-x11 x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.33.0
Android version:
10
Kernel build information:
Linux localhost 4.9.206-perf #2 SMP PREEMPT Fri Jul 3 15:12:14 JST 2020 aarch64 Android
Device manufacturer:
SHARP
Device model:
SHV43
T-Dynamos commented 1 year ago

are the logs same?

2096779623 commented 1 year ago

are the logs same?

Yes.