Bug 1625282 - kalzium interface is missing parts
Summary: kalzium interface is missing parts
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: kalzium
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-04 14:41 UTC by Matt Fagnani
Modified: 2018-09-06 09:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-05 16:04:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Picture of kalzium 18.04.3-3 with Qt 5.11.1 missing some interface parts (183.64 KB, image/png)
2018-09-04 22:17 UTC, Matt Fagnani
no flags Details


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 398293 0 None None None 2018-09-05 15:35:41 UTC

Description Matt Fagnani 2018-09-04 14:41:26 UTC
Description of problem:
kalzium-18.04.3-3.fc28 doesn't show the top two menu rows and the information panel on the left and legend on the bottom as shown in its documentation https://docs.kde.org/stable5/en/kdeedu/kalzium/quick-start.html

kalzium-18.04.3-3 shows just the periodic table view which takes up almost all the window except for the bottom row with the element and mass. I tried downgrading to kalzium-18.04.3-1 and avogadro2-libs-1.90.0-15, but kalzium's interface was still missing those parts. kalzium-18.04.3-1 did show all the parts when I was using Qt 5.10.1. I upgraded to Qt 5.11.1 on Aug 28. I guess that a problem with kalzium's use of Qt 5.11.1 might be the reason for these missing interface parts. The elements still show their own windows when clicked on. 

The journal shows the following when starting kalzium:

kwin_x11[3344]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 60994, resource id: 81788952, major code: 25 (SendEvent), minor code: 0
kwin_x11[3344]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61040, resource id: 81788952, major code: 15 (QueryTree), minor code: 0
plasmashell[3361]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 15192, resource id: 54525969, major code: 141 (Unknown), minor code: 3

I've seen similar errors at other times so they might not be specific to this particular error. I'm running Plasma 5.13.4 on X 1.19.6 on fully updated F28 with updates-testing enabled. I reported this initially on Bodhi at https://bodhi.fedoraproject.org/updates/FEDORA-2018-eae07fdf83

Version-Release number of selected component (if applicable):
kalzium-18.04.3-3.fc28.i686
qt5-qtbase-0:5.11.1-7.fc28.i686
plasma-desktop-0:5.13.4-1.fc28.i686
xorg-x11-server-Xorg-0:1.19.6-8.fc28.i686

How reproducible:
Always

Steps to Reproduce:
1. Run sudo dnf upgrade --refresh with upgrades-testing enabled in F28 to update to kalzium 18.04.3-3 and Qt 5.11.1
2. Run kalzium
3. 

Actual results:
kalzium's interface is missing parts with Qt 5.11.1 which all showed up with Qt 5.10.1

Expected results:
kalzium's interface shows all the intended parts as described above

Additional info:

Comment 1 Rex Dieter 2018-09-04 14:54:57 UTC
tentatively blocking qt-5.11 tracker bug

Comment 2 Rex Dieter 2018-09-04 14:57:23 UTC
I cannot reproduce.

you sure that menu item view->legend is enabled (for example)?

Comment 3 Matt Fagnani 2018-09-04 15:15:57 UTC
The menu rows aren't visible when I run kalzium as I mentioned, so I can't enable menu item view->legend. I'm not particulary familiar with kalzium so I might be missing something. I just tested it out when I got a dnf error for the avogadro2-1.91.0 update due to the avogadro2-libs-1.91.0 library name changes as I mentioned on https://bodhi.fedoraproject.org/updates/FEDORA-2018-eae07fdf83 At that time, I had Qt 5.10.1 installed and all the parts of kalzium showed up as shown in its documentation. I can try to attach a picture of kalzium's interface as I see it or try other troubleshooting if that would help.

Comment 4 Rex Dieter 2018-09-04 18:19:45 UTC
A screenshot would help yes.  Also, what Desktop Environment (plasma, gnome, etc..) and style/widget theming (if non-default) would be beneficial too.

Comment 5 Matt Fagnani 2018-09-04 22:17:51 UTC
Created attachment 1480917 [details]
Picture of kalzium 18.04.3-3 with Qt 5.11.1 missing some interface parts

Comment 6 Matt Fagnani 2018-09-04 23:16:50 UTC
I attached a picture of the kalzium-18.04.3-3 window which is missing the menus and other parts taken using Spectacle. I was running Qt 5.11.1 when that picture was taken. I'm running Plasma 5.13.4 with Look and Feel set to Fedora, Desktop theme set to Fedora Twenty Eight, Cursor Theme set to Breeze. The application color scheme is Breeze Edited in which I just customized Breeze to make the title bar light blue. Widget style is set to Breeze.

I ran sudo dnf downgrade kalzium-17.12.3-1.fc28 kalzium 17.12.3 and 18.04.3 had the same missing parts. I then ran sudo dnf downgrade qt5*. kalzium 17.12.3 and 18.04.3 looked the same with Qt 5.10.1 as with 5.11.1. So the problem doesn't seem to be with Qt 5.11.1 or the kalzium version. I tried sudo dnf downgrade kf5*, but dnf suggested downgrading to kf5 5.44 and plasma 5.12.4 which I think might be too far back to narrow down the problem. kf5 5.47 doesn't appear to be in the repositories now. The problem may be in one of kalzium's many kf5 dependencies. I'll look to see if something in kf5 5.49 might address the issue. I tried sudo dnf downgrade libglvnd* as it is a dependency of kalzium, but nothing changed. I updated to glibc-2.27-32 about five days ago, but I doubt the minor changes in it would affect kalzium's interface. kalzium 18.04.3 has the same issue with both avogadro2-libs 1.90.0 and 1.91.0. 

I am using the i686 builds because my computer has a Pentium 4 CPU from 2002, and maybe that could be part of the problem. My system is using the Mesa 18.0.5 llvmpipe driver with OpenGL version 3.0. I don't if it's possible that the llvmpipe driver can't render some parts of an interface but can render others. All the other KDE programs I've tested run with correctly displayed interfaces with Qt 5.11.1 including Dolphin, Konsole, Kinfocenter, System settings, ksysguard, kate, ksystemlog.

I'm unsure how to use strace and gdb to debug such subtle KDE/Qt interface issues effectively, but I can attach their output if that would be informative. I saw that gammaray can be used to troubleshoot Qt programs, though I haven't tried it yet. I'm open to suggestions. Thanks for your help.

Comment 7 Rex Dieter 2018-09-05 13:33:53 UTC
Based on latest bodhi comment, this appears to be not related to Qt 5.11.1 (issue remains after downgrading back to 5.10.1)

At this point, I recommend reporting this upstream:
https://bugs.kde.org/enter_bug.cgi?product=kalzium

Comment 8 Matt Fagnani 2018-09-05 15:35:42 UTC
I reported this issue to bugs.kde.org as you suggested
https://bugs.kde.org/show_bug.cgi?id=398293

Comment 9 Rex Dieter 2018-09-05 16:04:14 UTC
Thanks, we can continue to track it there.

Comment 10 Matt Fagnani 2018-09-06 09:20:16 UTC
I just had the thought that some file in my home directory might be affecting kalzium's behaviour. So I ran sudo kalzium and all of kalzium's interface parts showed up normally. I found ~/.config/kalziumrc which contained

[HTML Settings]
AutomaticDetectionLanguage=1

[KFileDialog Settings]
Recent Files[$e]=porphyrin.cml,file:///usr/share/kalzium/data/molecules/porphyrin.cml
Recent URLs[$e]=file:///usr/share/kalzium/data/molecules/
Window-Maximized 768x1024=true

[MainWindow]
Height 768=341
MenuBar=Disabled
State=AAAA/wAAAAD9AAAAAgAAAAAAAAD6AAACJvwCAAAAAfsAAAAeAGsAYQBsAHoAaQB1AG0ALQBzAGkAZABlAGIAYQByAAAAAEAAAAImAAAArgEAAAMAAAADAAAEAAAAAFH8AQAAAAL7AAAAIgBrAGEAbAB6AGkAdQBtAC0AdABhAGIAbABlAGkAbgBmAG8AAAAAAP////8AAACHAQAAA/sAAAAcAGsAYQBsAHoAaQB1AG0ALQBsAGUAZwBlAG4AZAAAAAAAAAAEAAAAAGABAAADAAAB/AAAAUIAAAAEAAAABAAAAAgAAAAI/AAAAAEAAAACAAAAAQAAABYAbQBhAGkAbgBUAG8AbwBsAEIAYQByAAAAAAD/////AAAAAAAAAAA=
StatusBar=Disabled
ToolBarsMovable=Disabled
Width 1024=508
Window-Maximized 768x1024=true

I'm guessing the MenuBar=Disabled, StatusBar=Disabled, and maybe State were behind the missing menu and other parts. After I renamed that file to ~/.config/kalziumrc.backup and ran kalzium as my user all the parts showed up normally. I'm not sure how the kalziumrc config file got into that state, but it was last modified on August 31 when I tested kalzium related to the avogadro2-1.91.0 update issue. I'm sorry about the mixup. The problem is resolved.


Note You need to log in before you can comment on or make changes to this bug.