Bug 462552 - Kalk starts with empty window with only hamburger menu visible
Summary: Kalk starts with empty window with only hamburger menu visible
Status: CONFIRMED
Alias: None
Product: Kalk
Classification: Applications
Component: General (show other bugs)
Version: 23.01.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: hanyoung
URL:
Keywords:
: 466756 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-12-02 16:28 UTC by Peter Ped Helcmanovsky
Modified: 2023-05-03 11:05 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kalk package info in aptitude (83.76 KB, image/png)
2022-12-03 00:48 UTC, Peter Ped Helcmanovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ped Helcmanovsky 2022-12-02 16:28:18 UTC
Kalk starts with empty window with only hamburger menu visible

The hamburger menu contains four lines with empty checkbox + text: Calculator / Converter / Binary Calculator / About

When the items are clicked, the checkboxes get selected/unselected (usually on the item, but About does clear others and select About), but window content gets either empty (first three options) or it shows About screen (fourth option).

OS is relatively fresh reinstall of KDE Neon (after 5.26), Kalk is installed from .deb by aptitude, package version: 22.11-0xneon+22.04+jammy+release+build2
(behaves the same way also on previous 22.09-xneon... package, not regression)

It all looks like some WIP version from very early stage with just menu defined and about page and wrongly used checkboxes instead of highlighting active page. And about page content can be dragged by mouse up/down a bit as when scrolling on mobile phones with finger, bouncing back (I guess this comes for free by using Kirigami, but it makes the whole situation strangely extra ridiculous considering the whole calculator is missing, but there is useless wobbly scroll at about page :D fun).

(extra bug - just typo) BTW the deb package in aptitude shows as description "A powerful cross-platfrom calculator" (platFROM instead of platform).

"About" page content:
Calculator 22.11
...
KDE Frameworks 5.100.0
The xcb windowing system
Qt 5.15.7 (built against 5.15.7)

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE neon 5.26
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel version: 6.0.0-1007-oem
Graphics Platform: X11
Comment 1 hanyoung 2022-12-02 17:44:35 UTC
can you paste the output of running kalk in terminal?
Comment 2 Peter Ped Helcmanovsky 2022-12-02 21:55:34 UTC
* initial launch:

$ kalk
kf.kirigami: (qrc:/qml/CalculationPage.qml:232:21: Type NumberPad unavailable
                        NumberPad {
                        ^, qrc:/qml/NumberPad.qml:14:5: Type PortraitPad unavailable
        PortraitPad {
        ^, qrc:/qml/PortraitPad.qml:17:5: Type NumberButton unavailable
        NumberButton {text: "√(" ; display: "√"; onClicked: pressed(text);}
        ^, qrc:/qml/NumberButton.qml:14:1: module "QtFeedback" is not installed
    import QtFeedback 5.0
    ^)

* selecting "about" ("hebrew"? No idea why it would prefer this one on my system, I use everything EN (us, gb), rarely cz, sk):

Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/FormLayout.qml:298:9: QML QQuickItem* (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredHeight"

* selecting "Calculator":

kf.kirigami: (qrc:/qml/CalculationPage.qml:232:21: Type NumberPad unavailable
                        NumberPad {
                        ^, qrc:/qml/NumberPad.qml:14:5: Type PortraitPad unavailable
        PortraitPad {
        ^, qrc:/qml/PortraitPad.qml:17:5: Type NumberButton unavailable
        NumberButton {text: "√(" ; display: "√"; onClicked: pressed(text);}
        ^, qrc:/qml/NumberButton.qml:14:1: module "QtFeedback" is not installed
    import QtFeedback 5.0
    ^)
Comment 3 Devin Lin 2022-12-02 22:02:02 UTC
(In reply to Peter Ped Helcmanovsky from comment #2)
> * initial launch:
> 
> $ kalk
> kf.kirigami: (qrc:/qml/CalculationPage.qml:232:21: Type NumberPad unavailable
>                         NumberPad {
>                         ^, qrc:/qml/NumberPad.qml:14:5: Type PortraitPad
> unavailable
>         PortraitPad {
>         ^, qrc:/qml/PortraitPad.qml:17:5: Type NumberButton unavailable
>         NumberButton {text: "√(" ; display: "√"; onClicked: pressed(text);}
>         ^, qrc:/qml/NumberButton.qml:14:1: module "QtFeedback" is not
> installed
>     import QtFeedback 5.0
>     ^)
> 
> * selecting "about" ("hebrew"? No idea why it would prefer this one on my
> system, I use everything EN (us, gb), rarely cz, sk):
> 
> Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
> kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
> file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/FormLayout.qml:
> 298:9: QML QQuickItem* (parent or ancestor of QQuickLayoutAttached): Binding
> loop detected for property "preferredHeight"
> 
> * selecting "Calculator":
> 
> kf.kirigami: (qrc:/qml/CalculationPage.qml:232:21: Type NumberPad unavailable
>                         NumberPad {
>                         ^, qrc:/qml/NumberPad.qml:14:5: Type PortraitPad
> unavailable
>         PortraitPad {
>         ^, qrc:/qml/PortraitPad.qml:17:5: Type NumberButton unavailable
>         NumberButton {text: "√(" ; display: "√"; onClicked: pressed(text);}
>         ^, qrc:/qml/NumberButton.qml:14:1: module "QtFeedback" is not
> installed
>     import QtFeedback 5.0
>     ^)

Looks like your distribution is missing the qml-module-qtfeedback dependency for this package
Comment 4 Peter Ped Helcmanovsky 2022-12-03 00:48:38 UTC
Created attachment 154253 [details]
kalk package info in aptitude

the package origin URI is: http://archive.neon.kde.org/user/pool/main/k/kalk/kalk_22.11-0xneon%2B22.04%2Bjammy%2Brelease%2Bbuild2_amd64.deb
KDE neon - User Edition:jammy

Is this the right repo to report Neon issues as well, or is there more specific one?
Comment 5 Peter Ped Helcmanovsky 2022-12-03 00:57:03 UTC
installing qml-module-qtfeedback manually makes kalk to display the calculator.

It still feels somewhat unfinished/broken in small details, but at least seems to provide basic functionality.
Comment 6 Devin Lin 2022-12-03 02:28:45 UTC
(In reply to Peter Ped Helcmanovsky from comment #4)
> Created attachment 154253 [details]
> kalk package info in aptitude
> 
> the package origin URI is:
> http://archive.neon.kde.org/user/pool/main/k/kalk/kalk_22.11-0xneon%2B22.
> 04%2Bjammy%2Brelease%2Bbuild2_amd64.deb
> KDE neon - User Edition:jammy
> 
> Is this the right repo to report Neon issues as well, or is there more
> specific one?

Distro packaging issues will need to be filed with the distribution.
Comment 7 meichthys 2023-03-10 04:33:46 UTC
*** Bug 466756 has been marked as a duplicate of this bug. ***
Comment 8 sombragris 2023-04-24 19:41:14 UTC
Can confirm on my side.

Specs:
Operating System: Slackware 15.0+ (-current)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.1.25 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Inspiron 5570
Comment 9 Antonio Rojas 2023-05-03 11:05:54 UTC
This depencency needs to be specified in CMakeLists.txt