https://bugs.kde.org/show_bug.cgi?id=400449

--- Comment #1 from Mauro Carvalho Chehab <mchehab+sams...@kernel.org> ---
(In reply to Patrick Silva from comment #0)
> STEPS TO REPRODUCE
> 1. insert a DVD disc
> 2. open kaffeine
> 3. click "play dvd" button
> 
> OBSERVED RESULT
> kaffeine shows the dvd menu, entries of the dvd menu are highlighted on
> mouseover but nothing happens on click.

There is a issue with newer versions of Qt and input methods, plus the way
libVlC handles it, with prevented the usage of the DVB menu via mouse. 

In summary, there's no way to tell libVlC about the position where the mouse is
when a click event happens on a DVB menu.

Due to that, we changed the way DVB menu is handled on Kaffeine, on Kaffeine
version 2.0.15: instead of mouse, you should use the keyboard:

commit 273edb5120fa8ba5390c39fecb6915e5dc378308
Author: Mauro Carvalho Chehab <mche...@s-opensource.com>
Date:   Thu Feb 22 09:20:06 2018 -0300

    mediawidget: switch DVD navigate to keyboard

    With newer Qt classes and newer libVLC, it is not possible anymore
    to navigate a DVD menu with the mouse.

    The reason is that Qt libs intercept all Linux input events,
    not letting libVLC to receive them.

    The solution would be to let Kaffeine to pass mouse events directly
    to libVLC. Unfortunately, such API doesn't exist. There was a set
    of RFC patches adding support for it:

           
http://vlc-devel.videolan.narkive.com/ah5I2Gpy/patch-libvlc-add-api-to-propagate-mouse-move-and-down-up-events

    But this was never accepted upstream.

    So, while this doesn't work, let's fall back to a different way:
    DVD menu navigation should be done via keyboard interaction.

    Basically, navigation is done via Up/Down/Left/Right keys. Once the
    DVB menu item is selected, pressing <ENTER> will activate the item.

    The libVLC provides support for a "Popup" navigate interaction, but
    I was unsure how this is used. So, support for it was not implemented.

    BUG: 373814

    Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to