Bug 415881 - Nothing happen when launching KDE connect SMS GUI
Summary: Nothing happen when launching KDE connect SMS GUI
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: messaging-application (show other bugs)
Version: 1.4
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Simon Redman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-05 00:02 UTC by bertrand.khayat69
Modified: 2020-02-18 05:44 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kdeconnect-sms segfault output (934 bytes, text/plain)
2020-01-05 06:39 UTC, Vlad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bertrand.khayat69 2020-01-05 00:02:49 UTC
SUMMARY
Nothing happen when I try to launch KDE connect SMS GUI.
 
I only succeed in sending sms when I do it from the shell with kdeconnect-cli --send-sms <message> --destination <destination> -n <Phone name>

STEPS TO REPRODUCE
1. Click on kde connect Icon
2. Click on the three point in front of the phone Name 
3. Click on SMS Message

OBSERVED RESULT

Nothing happen.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.17.4
(available in About System)
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65.0
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Simon Redman 2020-01-05 00:52:49 UTC
Hi,

Can you please fill in the 'Platform' field of the bug template with your distro, and the 'Version' field or the 'Latest Commit' field (depending on whether you are using a release version or a build from master)

Are you using KDE Plasma as the desktop environment or something else?

Can you please try running kdeconnect-sms from the command line with Qt debugging enabled, something like:

export QT_LOGGING_RULES="*.debug=true; qt.*.debug=false"
kdeconnect-sms

And attach the terminal output
Comment 2 Vlad 2020-01-05 06:39:33 UTC
Created attachment 124897 [details]
kdeconnect-sms segfault output
Comment 3 Vlad 2020-01-05 06:41:49 UTC
Getting similar issue on Manjaro, gui seem to launch but then disappears, and kdeconnect-sms segfaults.

pacman reports I got:
kdeconnect 1.4-1
Comment 4 Vlad 2020-01-05 06:47:23 UTC
Comment on attachment 124897 [details]
kdeconnect-sms segfault output

QCommandLineParser: already having an option named "v"
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
org.kde.kwindowsystem: Loaded plugin "/usr/lib/qt/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so" for platform "xcb"
kf5.kcoreaddons.desktopparser: Unknown property type for key "X-Plasma-API" -> falling back to string
qrc:/qml/ChatMessage.qml:63:29: Invalid property assignment: string expected - Assigning null to incompatible properties in QML is deprecated. This will become a compile error in future versions of Qt.
qrc:/qml/main.qml:36: ReferenceError: _initialMessage is not defined
kdeconnect.sms.conversations_list: setDeviceId "d0050d20e5ea486b" of ConversationListModel(0x555997b43110)
QGridLayoutEngine::addItem: Cell (0, 0) already taken
QGridLayoutEngine::addItem: Cell (0, 1) already taken
QGridLayoutEngine::addItem: Cell (0, 0) already taken
QGridLayoutEngine::addItem: Cell (0, 1) already taken
QGridLayoutEngine::addItem: Cell (0, 0) already taken
QGridLayoutEngine::addItem: Cell (0, 1) already taken
org.kde.kcoreaddons: Checking for plugins in ("/usr/lib/qt/plugins/kpeople/datasource", "/usr/bin/kpeople/datasource")
[1]    822 segmentation fault (core dumped)  kdeconnect-sms
Comment 5 bertrand.khayat69 2020-01-05 22:18:36 UTC
Hi
Thank you for your answer.

I filled the missing information in the bug template.

I use KDE plasma as desktop environment.

I enabled qt debugging with the command:
export QT_LOGGING_RULES="qt.*.debug=true; qt.io.debug=false"

I then ran the command
kdeconnect-sms

the shell output is :

qt.qpa.xcb: Has MIT-SHM     : true
qt.qpa.xcb: Has MIT-SHM FD  : true
qt.qpa.xcb: Using XInput version 2.2
qt.qpa.screen: Output DisplayPort-0 is not connected
qt.qpa.screen: Output HDMI-A-1 is not connected
qt.qpa.screen: EDID data for output "DVI-D-1": identifier '', manufacturer 'Samsung Electric Company',model 'SyncMaster-', serial 'H9MB301745-', physical size: 600.00x340.00
qt.qpa.screen: Output DVI-2-0 is not connected
qt.qpa.screen: Output HDMI-2-0 is not connected
qt.qpa.screen: Output VGA-2-0 is not connected
qt.qpa.screen: adding QXcbScreen(0x562b0548bd20, name="DVI-D-1", geometry=1920x1080+0+0, availableGeometry=1920x1056+0+24, devicePixelRatio=1.0, logicalDpi=QPair(96.0,96.3), physicalSize=604.0x342.0mm, screenNumber=0, virtualSize=1920x1080 (1920.0x1080.0mm), orientation=Qt::LandscapeOrientation, depth=24, refreshRate=60.0, root=4f5, windowManagerName="KWin") (Primary: true )
qt.qpa.screen: primary output is "DVI-D-1"
qt.qpa.input.devices: input device  Virtual core XTEST pointer ID 4
qt.qpa.input.devices:    has 10 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  Logitech USB Optical Mouse ID 10
qt.qpa.input.devices:    has 7 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    has valuator "Rel Horiz Scroll" recognized? true
qt.qpa.input.devices:    has valuator "Rel Vert Scroll" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.xcb: using glib dispatcher
qt.xkb.compose: using xkb compose input context
Comment 6 Doug 2020-01-23 06:51:31 UTC
I am getting the same error- launch SMS from the KDEConnect systray icon and nothing happens at all.  If I launch from the Application Dashboard icon, it brings up a window, but just gives me the spinning arrow.  I also launched it from command line, and have pasted the terminal output below.

System:
KDE Neon/Plasma 5.17.5
KDE Frameworks 5.66.0
QT 5.13.2
Kernel 5.3.0-26-generic

Terminal Commands:
QT_LOGGING_RULES="qt.*.debug=true; qt.io.debug=false"
kdeconnect-sms

Terminal output:
qt.qpa.xcb: Has MIT-SHM     : true
qt.qpa.xcb: Has MIT-SHM FD  : true
qt.qpa.xcb: Using XInput version 2.2
qt.qpa.screen: Output DVI-I-0 is not connected
qt.qpa.screen: Output DVI-I-1 is not connected
qt.qpa.screen: Output HDMI-0 is not connected
qt.qpa.screen: Output DP-0 is not connected
qt.qpa.screen: Output DVI-D-0 is not connected
qt.qpa.screen: EDID data for output "DP-1": identifier '', manufacturer 'AOC',model 'U3277WB-', serial '910', physical size: 700.00x390.00
qt.qpa.screen: adding QXcbScreen(0x563a7ce7e370, name="DP-1", geometry=3840x2160+0+0, availableGeometry=3706x2104+134+56, devicePixelRatio=1.0, logicalDpi=QPair(192.0,192.0), physicalSize=698.0x393.0mm, screenNumber=0, virtualSize=3840x2160 (3840.0x2160.0mm), orientation=Qt::LandscapeOrientation, depth=24, refreshRate=60.0, root=2a4, windowManagerName="KWin") (Primary: true )
qt.qpa.screen: primary output is "DP-1"
qt.qpa.input.devices: input device  Virtual core XTEST pointer ID 4
qt.qpa.input.devices:    has 10 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  Logitech MX Anywhere 2S ID 9
qt.qpa.input.devices:    has 20 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    has valuator "Rel Horiz Scroll" recognized? true
qt.qpa.input.devices:    has valuator "Rel Vert Scroll" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  HP HP Link-5 Micro Receiver Mouse ID 11
qt.qpa.input.devices:    has 9 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    has valuator "Rel Horiz Scroll" recognized? true
qt.qpa.input.devices:    has valuator "Rel Vert Scroll" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  HP HP Link-5 Micro Receiver Consumer Control ID 12
qt.qpa.input.devices:    has 7 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
Comment 7 Simon Redman 2020-01-23 21:02:50 UTC
Doug,

The logging variables you used have suppressed logging for kdeconnect-sms. I usually use QT_LOGGING_RULES="*.debug=true; qt.*.debug=false"

But it sounds like your issue is different since the app launches. You might want to look at https://bugs.kde.org/show_bug.cgi?id=401677. Alternately, make sure your phone is plugged in or screen on while trying to load messages.
Comment 8 Erik Vonderscheer 2020-01-27 00:48:53 UTC
I am receiving the same error as Vlad when launching from the shell. The window does open, and stays open, if I run with the phone disconnected but once I connect the device it force closes.

Operating System: Manjaro Linux 
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0
Kernel Version: 5.4.13-3-MANJARO
kdeconnect 1.4-1

Pixel 2
version 1.13.7

~export QT_LOGGING_RULES="*.debug=true; qt.*.debug=false"
~kdeconnect-sms
QCommandLineParser: already having an option named "v"
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
org.kde.kwindowsystem: Loaded plugin "/usr/lib/qt/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so" for platform "xcb"
kf5.kcoreaddons.desktopparser: Unknown property type for key "X-Plasma-API" -> falling back to string
qrc:/qml/ChatMessage.qml:63:29: Invalid property assignment: string expected - Assigning null to incompatible properties in QML is deprecated. This will become a compile error in future versions of Qt.
qrc:/qml/main.qml:36: ReferenceError: _initialMessage is not defined
kdeconnect.sms.conversations_list: setDeviceId "91bdda55c8987456" of ConversationListModel(0x563cb28be2d0)
QGridLayoutEngine::addItem: Cell (0, 0) already taken
QGridLayoutEngine::addItem: Cell (0, 1) already taken
QGridLayoutEngine::addItem: Cell (0, 0) already taken
QGridLayoutEngine::addItem: Cell (0, 1) already taken
QGridLayoutEngine::addItem: Cell (0, 0) already taken
QGridLayoutEngine::addItem: Cell (0, 1) already taken
org.kde.kcoreaddons: Checking for plugins in ("/usr/lib/qt/plugins/kpeople/datasource", "/usr/bin/kpeople/datasource")
Segmentation fault (core dumped)

Any other information you need I will try and provide.