foundryvtt-lancer icon indicating copy to clipboard operation
foundryvtt-lancer copied to clipboard

[BUG] Hidden Right Click Menu on Chat Messages

Open Eranziel opened this issue 2 years ago • 2 comments

Describe the bug Right clicking on a chat message header should bring up a context menu for stock Foundry functionality. This menu is not visible when running Lancer.

This is an issue with, for example, whispered chat messages. The context menu includes an option to show the message to others, so this becomes impossible.

To Reproduce Steps to reproduce the behavior:

  1. Creare a whispered chat message.
  2. Right click on the header, no context menu appears.
  3. Open the inspector and disable the clip path styling applied to the chat message by Lancer.
  4. Right click the header again. Context menu now appears.

Expected behavior The context menu should be usable.

Eranziel avatar Apr 22 '22 14:04 Eranziel

My current UI refactor will fix this, but for posterity's sake the offending lines of code appear to be:

  • https://github.com/Eranziel/foundryvtt-lancer/blob/master/src/lancer.scss#L205
  • https://github.com/Eranziel/foundryvtt-lancer/blob/master/src/lancer.scss#L209

At least for me, the clip path doesn't appear to have any relationship to the issue.

mason-bially avatar Apr 23 '22 07:04 mason-bially

A context menu appears for me on both normal and hidden messages.

OS: Windows 10 Browser: Chrome Foundry version: 11.315 Lancer system version: 2.0.0

Davis-K-Johnson avatar Mar 11 '24 16:03 Davis-K-Johnson