Bug 1077881 - libfltk1: doesn't show correct cursor/pointer at least in tigervnc-viewer
libfltk1: doesn't show correct cursor/pointer at least in tigervnc-viewer
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X11 Applications
64bit openSUSE Factory
: P5 - None : Normal (vote)
: ---
Assigned To: Petr Gajdos
E-mail List
Depends on:
  Show dependency treegraph
Reported: 2018-01-28 17:56 UTC by Michael Traxler
Modified: 2018-01-29 13:00 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Traxler 2018-01-28 17:56:02 UTC
Something is wrong with the libfltk1 libraries.
When using them for example with tigervnc-vncviewer, the cursor (mouse pointer) is not changing according to the window wishes from the vncserver as expected. Only an arrow is shown!
One would expect that this is a problem of tigervnc-viewer, but when I just copy all /usr/lib/x86_64-linux-gnu/libfltk* from a Ubuntu 17.10 to my OpenSuSE Tumbleweed, all works great again.

This problem also persists if I compile fltk-1.3.4-2 from the sources.
Also a self compiled version of tiger-vncviewer shows the problem, and also the problem vanishes with the fltk-library from Ubuntu. 

The strange thing: the fltk/test/cursor application works well with the Tumbleweed-FLTK and all different mouse cursors are show.

Any hint, what could be the problem?
Comment 1 Michal Srb 2018-01-29 12:02:16 UTC
Thanks for noticing and reporting, Michael!

The fltk package is missing build dependency on "pkgconfig(xcursor)" (provided by "libXcursor-devel"). It is optional dependency, so the build does not fail, but it builds without cursor support. When the application tries to change cursor using fltk, it is ignored.

Adding the build dependency fixes it. Petr, can you add it, please?
Comment 2 Petr Gajdos 2018-01-29 12:21:27 UTC
Thanks Michal for spotting this, fixed and submitted to factory.
Comment 3 Petr Gajdos 2018-01-29 12:22:13 UTC
Comment 4 Swamp Workflow Management 2018-01-29 13:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (1077881) was mentioned in
https://build.opensuse.org/request/show/570580 Factory / fltk