https://bugs.documentfoundation.org/show_bug.cgi?id=164638

            Bug ID: 164638
           Summary: LibreOffice Extensions utilising JavaUNO are
                    considered a game activity by Discord
           Product: LibreOffice
           Version: 7.5.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: trivial
          Priority: medium
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I had Discord running in the background while I was doing some work, and
noticed after installing some plugins that Discord had me recorded as 'playing
UNO' (the card game). 

https://i.imgur.com/jvZjw97.png

After trying to identify what was registering as 'UNO', I discovered on Windows
Task Manager that 'uno.exe' was running. Following it through to the File
Explorer, it pointed towards "C:\Program Files\LibreOffice\program\uno.exe".

https://i.imgur.com/F8p8VEW.png
https://i.imgur.com/jjGUr3m.png

I learned that uno.exe refers to 'JavaUNO'
(https://api.libreoffice.org/docs/tools.html) which is used for several things,
including as SDK for LibreOffice Plugins. It just so happened that a plugin I
had installed utilised 'uno.exe', and Discord's Rich Presence feature
registered it as UNO, the card-based video game.

This isn't a serious problem but I thought it was funny and worth noting.
Initially it gave me a fright as I thought someone had external access to my
Discord or other linked accounts, but I was just doing office work with a
Plugin.

I also have to explain why this isn't a particular plugin issue, but rather an
issue shared between Libre Office's use of Java UNO as a Plugin SDK and
Discord's Rich Presence. I'll try to contact Discord as well to explain this,
but if 'uno.exe' wasn't named as similar to the card game, and discord didn't
just look for .exe name to detect them as valid activities, then it probably
wouldn't have happened.

I'm not really expecting a fix from LibreOffice's team as it's a Discord issue
primarily, but I thought it was worth mentioning in case anyone happens to use
Discord and Libre Office at the same time.

Steps to Reproduce:
1. Open Discord, have Activity Sharing active on the Activity Privacy settings
for your account.
2. Install a LibreOffice Plugin that utilises Java UNO (I happened to be using
Advanced Office Chart Plugin for LibreOffice Calc, but really anything that
uses Java UNO should be reproducible)
3. Observe your Discord profile and see 'UNO' appear.

Actual Results:
'UNO' the card-based videogame shows up on Discord, as 'uno.exe' shows up on my
Windows Task Manager. See this image to explain:
https://i.imgur.com/jvZjw97.png

Expected Results:
Discord shouldn't detect it as a game activity, or rather LibreOffice shouldn't
have it's uno.exe detectable as a game by Discord.


Reproducible: Always


User Profile Reset: No

Additional Info:
LibreOffice:
Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 20; OS: Windows 10.0 Build 26100; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

Discord:
stable 357280 (0f26161) Host 1.0.9175 x64 (56716) Build Override: N/A Windows
11 64-bit (10.0.26100)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to