No keyboard input (v72.1 for Linux / Debian 9 Stretch / KDE 5)

64 views
Skip to first unread message

Boris Man

unread,
Dec 15, 2019, 3:16:11 AM12/15/19
to PHP Desktop
Hello and thanks for this wonderful package!

I am using the current standard version for Linux and it seems that the keyboard input is not working. I cannot type anything in the text fields in forms.php, nor can I scroll long pages using the keyboard (Page Up, Page Down, arrow keys). The developers tools work fine however, so this problem is present only in the main browser window.

Here are my system specifications:
  • Debian GNU/Linux 9 (stretch)
  • plasmashell 5.8.6
  • Qt: 5.7.1
  • KDE Frameworks: 5.28.0

I've attached a sample debug output from the console.
phpdesktop-linux-72.1.debug.log

Czarek Tomczak

unread,
Dec 15, 2019, 6:40:25 AM12/15/19
to PHP Desktop
Does it work with original unmodified phpdesktop package with no changes to any files?

Boris Man

unread,
Dec 15, 2019, 6:59:47 AM12/15/19
to PHP Desktop
On Sunday, December 15, 2019 at 12:40:25 PM UTC+1, Czarek Tomczak wrote:
Does it work with original unmodified phpdesktop package with no changes to any files?

No, it doesn't work with the unmodified package. Sorry that it was not clear enough from my initial question.

Czarek Tomczak

unread,
Dec 15, 2019, 7:04:35 AM12/15/19
to PHP Desktop
PHP Desktop for Linux depends on GTK 2 library. What version of that library is installed on your OS? Is it stable version and can you try installing a different version?

Czarek Tomczak

unread,
Dec 15, 2019, 7:07:38 AM12/15/19
to PHP Desktop
Please also test phpdesktop v70.0 which uses GTK 3 library, see: https://github.com/cztomczak/phpdesktop/releases/tag/linux-v70.0

Boris Man

unread,
Dec 15, 2019, 7:46:59 AM12/15/19
to PHP Desktop
I have following GTK libraries:
They are both stable. The architecture is amd64.

I have tested all packages from the linux-v70.0 release:
  • phpdesktop-linux-70.0 - works (there is keyboard input)
  • phpdesktop-linux-70.1 - works (there is keyboard input)
  • phpdesktop-linux-70.2 - program doesn't start due to segmentation fault
  • phpdesktop-linux-70.3 - doesn't work (there is no keyboard input)
  • phpdesktop-linux-72.0 - doesn't work (there is no keyboard input)

Czarek Tomczak

unread,
Dec 15, 2019, 8:55:42 AM12/15/19
to PHP Desktop
Please download upstream CEF standard distribution and build cefclient sample application and test it. If it works fine there then it should be easy to fix in phpdesktop. For phpdesktop v72.1 the download link is: http://opensource.spotify.com/cefbuilds/cef_binary_3.3626.1883.g00e6af4_linux64.tar.bz2 . See the CMakeLists.txt file for build instructions.

For other versions of phpdesktop find links here: http://opensource.spotify.com/cefbuilds/index.html

Boris Man

unread,
Dec 15, 2019, 11:59:44 AM12/15/19
to PHP Desktop
Ok, I've built the cefclient and it works fine. Should I try to integrate it into phpdesktop?

Czarek Tomczak

unread,
Dec 15, 2019, 12:30:43 PM12/15/19
to PHP Desktop
It needs to be figured out how cefclient differs from phpdesktop when creating GTK window.

Czarek Tomczak

unread,
Dec 15, 2019, 12:31:35 PM12/15/19
to PHP Desktop
You can create an issue in the tracker to track this bug.

Boris Man

unread,
Dec 15, 2019, 2:03:47 PM12/15/19
to PHP Desktop
Reply all
Reply to author
Forward
0 new messages