bug report: black screen when dragging to screen edge on Linux guest; looking for a workaround

Discussion in 'Parallels Desktop on a Mac with Apple silicon' started by GlyphL, Feb 23, 2025.

  1. GlyphL

    GlyphL Bit poster

    Messages:
    3
    On various Linux distributions (Debian 12.6, Ubuntu 24.04, Fedora 40) when dragging to the edge of the screen, a black window appears and covers the entire screen in the guest. This behavior is really annoying and occurs when doing things like, for example, selecting some text that happens to be close to the screen edge, or dragging a window to snap to the screen edge.

    This appears to be a bug in the drag-and-drop support, and can be worked around by manually doing `pkill prldnd` in the guest (which obviously breaks drag and drop). My preference would, of course, be to just fix this bug, but in the meanwhile I almost never use drag and drop with Linux guests, and it would be nice to be able to disable this without resorting to a manual command-line hack every time. Is there a way to do this? I can't find a setting in the GUI.

    (I don't see this behavior in Windows.)
     
  2. LunarL

    LunarL

    Messages:
    1
    To disable drag and drop in your Parallels VM, you need to edit the config.pvs file:
    1. Shut down your VM
    2. Navigate to ~/Parallels/[VM_name].pvm/ in your home folder
    3. Right-click on [VM_name].pvm and select "Show Package Contents"
    4. Find and open config.pvs with a text editor
    5. Locate the DragAndDrop section
    6. Change the Enabled value to 0: <DragAndDrop dyn_lists="" Enabled_patch="1"> <Enabled>0</Enabled> </DragAndDrop>
    7. Save the file and restart your VM
    This disables drag and drop functionality between host and guest systems.
    Note: Always back up config.pvs before editing.

    FYI: I made an account just to reply to you, since you pointed me in the right direction regarding what caused the weird flickering when selecting text. It was happening because I was accidentally dragging out of the VM.
     
    GlyphL likes this.
  3. GlyphL

    GlyphL Bit poster

    Messages:
    3
    Thanks so much, I will have to give this a try!
     

Share This Page