https://bugs.kde.org/show_bug.cgi?id=523691
Bug ID: 523691
Summary: KDE Plasma Task Manager incorrectly associates two
separate portable Wine/MetaTrader 4 installations
Classification: Plasma
Product: plasmashell
Version First 6.6.5
Reported In:
Platform: Debian testing
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Desktop icons & Folder View widget
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
I am new to KDE Plasma, so please excuse me if I am misunderstanding how
application identification and Task Manager pinning are supposed to work.
I have two completely separate installations of MetaTrader 4 (MT4), used for
different purposes:
- one installation for live trading;
- one installation for development.
Each MT4 installation has its own complete directory, and the "terminal.exe"
executable is located inside its respective directory.
I launch each installation directly from its own directory using Wine with the
"/portable" command-line option. In this mode, MT4 stores its data and
configuration in its own installation directory rather than using the usual
Wine/MT4 data location.
For example, the structure is essentially:
/path/to/MT4-Live/terminal.exe /portable
/path/to/MT4-Development/terminal.exe /portable
The two installations are therefore completely independent from each other,
including their executable and portable data directories.
Steps to reproduce
1. Start the MT4 live-trading installation.
2. Start the separate MT4 development installation from its own directory using
"/portable".
3. Right-click the development MT4 icon in the Plasma Task Manager and select
Pin to Task Manager.
4. Close the development MT4 if necessary.
5. Launch the development MT4 using the pinned Task Manager icon.
Actual behavior
Plasma launches the development MT4, but the Task Manager also displays the
icon associated with the live-trading MT4.
As a result, I end up with two MT4 icons in the Task Manager:
- the development MT4 icon;
- the live-trading MT4 icon, which is shown as the active application.
The two MT4 installations appear to be treated as the same application by
Plasma, even though they are completely separate installations, with separate
"terminal.exe" executables in different directories and separate portable data.
I checked the window identification and both MT4 instances report exactly the
same values:
WM_CLASS(STRING) = "terminal.exe", "Terminal.exe"
This may explain why Plasma cannot distinguish the two instances, but I am not
sure whether this is expected behavior or a Wine/Plasma issue.
System information
- KDE Plasma: 6.6.5
- Wine: 11.0
- Session: Wayland
- Application: MetaTrader 4
- Two completely separate MT4 directories
- Each directory contains its own "terminal.exe"
- Both installations are launched with "/portable"
Expected behavior
I would expect Plasma to allow the two separate MT4 installations to be pinned
and identified independently, so that launching the development installation
does not associate it with the live-trading installation.
If the identical "WM_CLASS" provided by Wine is the reason for this behavior, I
would appreciate clarification about whether Plasma has another mechanism for
distinguishing applications installed in different directories, or whether this
should instead be addressed by Wine.
Thank you for any guidance. As I am new to KDE Plasma, I may be missing an
existing configuration or recommended way of handling this situation.
--
You are receiving this mail because:
You are watching all bug changes.