devos50/tribler

Download and play buttons don't follow cursor movements by keyboard

Closed this issue · 8 comments

vi commented

The also disappear too eagerly.

  1. Mouse-over an item in channel or search results
  2. Observe round "download" and "play" buttons appear;
  3. Click at the item (not the buttons), making it highlighted/selected
    [Expect information about the item to show up in the bottom, but that's separate issue]
  4. Expected: buttons stay. Actual: buttons disappear.
  5. Move mouse away from the item then back.
  6. Buttons re-appear.
  7. Press "down" or "up" keys to navigate the list
  8. Buttons stay attached to the mouse-hovered item even it gets scrolled away from viewport.
  9. Hover mouse somewhere and press "download" button.
  10. Expected: some confirmation that the download is started or error why it not started, or window to choose anonymity mode, destination, etc.
  11. Expected: buttons stay after clicking (I can initially decide to download a thing, but then immediately to watch it). Actual: buttons disappear.

In general, buttons visibility should not be too tied to mouse movements. I get feeling that the button plays hide and seek and disappears even before I click on it (if it is reality then this may be the cause of #24).

@vi which OS are you using? I'm unable to actually select an item (by clicking on it). Can you send me a screenshot of when an item is highlighted?

vi commented

Debian. Qt5 may be old-ish.

vi commented

th

Light-grayish thing is hover-highlighted. Blue thing is set by clicks and keyboard.

@vi which version of qt do you use (dpkg-query -l | grep pyqt)? And do you use VNC? I'm unable to reproduce it with Qt 5.4.2 on Ubuntu.

vi commented
ii  pyqt-tools                                                  3.18.1-5                                                  i386         pyuic and pylupdate for Qt3
ii  pyqt4-dev-tools                                             4.11.1+dfsg-1                                             i386         Development tools for PyQt4
ii  python-pyqt5                                                5.3.2+dfsg-3                                              i386         Python bindings for Qt5
ii  python-pyqt5-dbg                                            5.3.2+dfsg-3                                              i386         Python bindings for Qt5 (debug extensions)
ii  python-pyqt5.qtsvg                                          5.3.2+dfsg-3                                              i386         Python bindings for Qt5's SVG module
ii  python-pyqt5.qtwebkit                                       5.3.2+dfsg-3                                              i386         Python bindings for Qt5's WebKit module
ii  python-pyqtgraph                                            0.9.8-3                                                   all          Scientific Graphics and GUI Library for Python 2
ii  python3-pyqt4                                               4.11.1+dfsg-1                                             i386         Python3 bindings for Qt4
ii  python3-pyqt5                                               5.3.2+dfsg-3                                              i386         Python 3 bindings for Qt5
ii  python3-pyqt5-dbg                                           5.3.2+dfsg-3                                              i386         Python 3 bindings for Qt5 (debug extensions)
ii  python3-pyqt5.qtwebkit                                      5.3.2+dfsg-3                                              i386         Python 3 bindings for Qt5's WebKit module

The GUI is connected directly to X server. Trying with VNC...

vi commented

On VNC keyboard up/down seems to be ignored (blue selection is present).

@vi I will try with VNC in a moment.

@vi I managed to reproduce it, let me investigate the root cause.