Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5103

Interfacing (DSI, CSI, I2C, etc.) • Re: Touch driver development - strange artifact when drag&drop

$
0
0
Observations are on DUTs running 64 bit Bookworm with kernel 6.6.62 and with two different LCD controllers. ILI9341 and ST7789. NOT using Touch on these DUTs.

I have put two text files and two folders on the DUT Desktop desktop and yes I have noticed that grey box with the file or folder name appears whenever I hover the mouse pointer over a screen icon (thumbnail) on the LCD. The grey box disappears when the mouse pointer is moved away from the icon. Subsequent actions are as follows:-

1. When I move the mouse pointer over a file or folder icon the grey box appears with the file or folder name
2. When I left click and hold, the dialog box opens as though I have right clicked on the icon.
3. When I move the mouse pointer (drag) the dialog box closes and the icon is now attached to my mouse pointer
4. When I release the left mouse button the file or folder is not placed at the mouse pointer position - it is no longer visible and the mouse pointer now has a file or folder icon permanently attached to it and follows it wherever I move the mouse pointer to - it follows the mouse pointer over from the SPI LCD onto to the HDMI Desktop. Nothing I do seems to release the icon attached to the mouse pointer - it has become a 'sticky ghost'.
5. Not until I left click the mouse button again does the original file or folder re-appear on the LCD Desktop.

Other observations.

6. I also have a USB Wireless Mouse & Keyboard and HDMI monitor attached to the DUT. If I right click on an empty part of the LCD Desktop it opens the Desktop Preferences dialog box as expected. If I press the keyboard ALT key, left click and hold the mouse pointer anywhere in the dialog box I can drag the dialog box over to the HDMI monitor screen for better visibility - and this drag and drop works as expected. The "Show identical desktops" box is NOT ticked on BOTH SPI-1 and HDMI-A-1 but the four file and folder icons are also on the HDMI Monitor screen - this is unexpected behaviour - I did not expect the file and folder icons to be duplicated on the HDMI screen with this dialog check box empty?

7. If I open a Terminal on the LCD I can drag and drop the Terminal window over to the HDMI Monitor with ALT & left mouse click as normal. This element of drag on drop seems to be working as expected.

8. Same behaviour on wayfire and labwc and same behaviour with Menu bar on LCD or HDMI screens.

This odd mouse behaviour when a SPI LCD is employed using the mipi-dbi-spi overlay looks like a bug to me. Could someone @6by9 perhaps ? take a look please and comment. Happy to run any further tests or upload logs and will send a DUT to anyone willing to contribute.

Statistics: Posted by peter.arq — Wed Dec 11, 2024 5:41 pm



Viewing all articles
Browse latest Browse all 5103

Trending Articles