https://bugs.winehq.org/show_bug.cgi?id=57329
Bug ID: 57329
Summary: Desktop files generated by Wine do not conform to the
Desktop Entry Specification
Product: Wine
Version: 9.20
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: meator.dev(a)gmail.com
Distribution: ---
Desktop files generated by Wine do not conform to the latest (and older)
version to of the Desktop Entry Specification, primarily the Exec key
specification:
https://specifications.freedesktop.org/desktop-entry-spec/1.5/exec-variable…
For example, this is how the desktop file for Notepad++ looks like (located at
/home/meator/.local/share/applications/wine/Programs/Notepad++.desktop):
[Desktop Entry]
Name=Notepad++
Exec=env WINEPREFIX="/home/meator/.wine" wine
C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start\\
Menu\\\\Programs\\\\Notepad++.lnk
Type=Application
StartupNotify=true
Path=/home/meator/.wine/dosdevices/c:/Program Files/Notepad++
Icon=7ABC_notepad++.0
StartupWMClass=notepad++.exe
I will ignore the `env WINEPREFIX="/home/meator/.wine"` part of Exec now.
The Exec key parsing is done in two rounds (that's why there are so many
backslashes). The first round is common to all keys of type string,
localestring and iconstring (which includes the Exec key). The standard
mandates:
> The escape sequences \s, \n, \t, \r, and \\ are supported for values of type string, localestring and iconstring, meaning ASCII space, newline, tab, carriage return, and backslash, respectively.
This is how the command line looks after undoing the first layer of escapes:
> wine C:\\users\\meator\\AppData\\Roaming\\Microsoft\\Windows\\Start\ Menu\\Programs\\Microsoft\ Office\ PowerPoint\ Viewer\ 2003.lnk
Then the Exec quoting continues. The standard mandates:
> Quoting must be done by enclosing the argument between double quotes and escaping the double quote character, backtick character ("`"), dollar sign ("$") and backslash character ("\") by preceding it with an additional backslash character. Implementations must undo quoting before expanding field codes and before passing the argument to the executable program. Reserved characters are space (" "), tab, newline, double quote, single quote ("'"), backslash character ("\"), greater-than sign (">"), less-than sign ("<"), tilde ("~"), vertical bar ("|"), ampersand ("&"), semicolon (";"), dollar sign ("$"), asterisk ("*"), question mark ("?"), hash mark ("#"), parenthesis ("(") and (")") and backtick character ("`").
The first problem is that the second argument is not enclosed in double quotes,
so all escapes in it are unspecified. The second problem is that `\ ` space
escape is used, which is not specified (this is the most severe problem). It is
specified as a "reserved character", but not as a character requiring a
backslash escape. Because of these issues, fully conformant desktop file
parsers will fail to parse desktop files generated by Wine.
This is how a fixed Notepad++ desktop file looks like:
[Desktop Entry]
Name=Notepad++
Exec=env "WINEPREFIX=/home/meator/.wine" wine
"C:\\\\ProgramData\\\\Microsoft\\\\Windows\\\\Start
Menu\\\\Programs\\\\Notepad++.lnk"
Type=Application
StartupNotify=true
Path=/home/meator/.wine/dosdevices/c:/Program Files/Notepad++
Icon=7ABC_notepad++.0
StartupWMClass=notepad++.exe
I have also quoted `WINEPREFIX=/home/meator/.wine` in whole, because the entire
argument should be quoted according to the standard (but I consider this issue
to be less important).
System info
===========
OS: Void Linux
Wine version: wine-9.20 (downloaded through package manager)
Notepad++ download:
https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8…
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45871
Bug ID: 45871
Summary: Several apps in .NET472 crash with unhandled
exception.\nException at
System.Windows.Media.Composition.DUCE+Channel.SyncFlus
h()\n at
System.Windows.Media.MediaContext.Complet"...(native
d3dcompiler works around it)
Product: Wine
Version: 3.16
Hardware: x86
OS: Linux
Status: NEW
Keywords: dotnet, download
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs(a)winehq.org
Reporter: xerox.xerox2000x(a)gmail.com
Distribution: ---
Created attachment 62374
--> https://bugs.winehq.org/attachment.cgi?id=62374
part of crashlog
Hi
Seen this for a bunch of programs while trying to run them with installed
dotnet472.
The bug seems to be hidden for several apps as they ship their owm
d3dcompiler_47, but some don`t I found out, and they crash
Something like:
01c2:fixme:d3dcompiler:make_assignment Check for casts in the lhs.
01c2:err:d3dcompiler:compile_shader HLSL shader parsing failed.
01c2:err:ntdll:vDbgPrintExWithPrefix 65: MIL FAILURE: Unexpected HRESULT
0x88760b59 in caller: intermediate rendering error
01c2:err:ntdll:vDbgPrintExWithPrefix 65: MIL FAILURE: Unexpected HRESULT
0x88760b59 in caller: The render thread failed unexpectedly.
Then crash
Example: Slackinstaller.exe:
winetricks dotnet452 win7 corefonts, then start installer with builtin
d3dcomiler_47 works fine.
However
winetricks dotnet472 win7 corefonts, then start installer with builtin
d3dcomiler_47 --> crash
(Note: for Slackinstller one also needs Staging-patches for bug 40613)
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56368
Bug ID: 56368
Summary: hlsl_types_are_equal assert when vertex shaders uses
SV_VertexID as lookup index
Product: vkd3d
Version: 1.10
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: hlsl
Assignee: wine-bugs(a)winehq.org
Reporter: martins.mozeiko(a)gmail.com
Distribution: ---
Created attachment 76109
--> https://bugs.winehq.org/attachment.cgi?id=76109
test.c
Assertion failed: hlsl_types_are_equal(arg1->data_type, arg2->data_type), file
../wine/libs/vkd3d/libs/vkd3d-shader/hlsl.c, line 1320
This assert happens when D3DCompileFromFile or D3DCompile is called on hlsl
vertex shader (vs_5_0 profile) source like this:
struct Input
{
float4 c0 : COL0;
float4 c1 : COL1;
float4 c2 : COL2;
float4 c3 : COL3;
uint id : SV_VertexID;
};
float4 vs_main(Input input) : SV_Position
{
float4 col[] = { input.c0, input.c1, input.c2, input.c3 };
return col[input.id];
}
See attached test.c file that reproduces this assert. On Windows it prints out
"ok = 1" and shader is successfully compiler. It can be compiled also with
fxc.exe on commandline.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56465
Bug ID: 56465
Summary: d3dcompiler fails to compile shader functions that
have optional arguments ("E5000: syntax error,
unexpected '=', expecting ')'")
Product: vkd3d
Version: 1.11
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: hlsl
Assignee: wine-bugs(a)winehq.org
Reporter: alexhenrie24(a)gmail.com
Distribution: ---
Minimal example (compile with `i686-w64-mingw32-cc *.c -ld3dx9_36`):
#include <windows.h>
#include <d3dx9shader.h>
#include <stdio.h>
int main()
{
static const char src[] = "float4 main(float4 color : COLOR =
float4(0,0,0,0)) : COLOR { return color; }";
ID3DXBuffer *out = NULL;
HRESULT res = D3DXCompileShader(src, sizeof(src), NULL, NULL, "main",
"ps_2_0", 0, &out, NULL, NULL);
printf("res=%x\n", res);
return res;
}
Output:
0024:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4.
0024:err:d3dcompiler:D3DCompile2 Shader log:
0024:err:d3dcompiler:D3DCompile2 <anonymous>:1:36: E5000: syntax error,
unexpected '=', expecting ')'
0024:err:d3dcompiler:D3DCompile2
res=80004005
Output after `winetricks d3dcompiler_47`:
res=0
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56785
Bug ID: 56785
Summary: Spider-Man: Shattered Dimensions crashes in the title
screen after a few seconds
Product: vkd3d
Version: 1.12
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: hlsl
Assignee: wine-bugs(a)winehq.org
Reporter: tinozzo123(a)gmail.com
Distribution: ---
Created attachment 76590
--> https://bugs.winehq.org/attachment.cgi?id=76590
Shader dumped by VKD3D_SHADER_DUMP_PATH
Like the title says, after spending a few seconds in the title screen,
Spider-Man: Shattered Dimensions crashes, with the following logs:
```
017c:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4.
017c:err:d3dcompiler:D3DCompile2 Shader log:
017c:err:d3dcompiler:D3DCompile2 <anonymous>:146:1: W5302: Ignoring unknown
attribute "optimizeAutoZ".
017c:err:d3dcompiler:D3DCompile2 <anonymous>:121:14: E5016: Overlapping
register() reservations on 'c27'.
017c:err:d3dcompiler:D3DCompile2
```
This is a regression: it didn't happen on vkd3d 1.11 (Wine 9.9).
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57438
Bug ID: 57438
Summary: Alt+Tab makes Unity games no longer respond to input
Product: Wine
Version: 9.21
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: es20490446e(a)gmail.com
Distribution: ---
== SYSTEM ==
- Plasma 6
- Kwin
- Arch Linux
== STEPS ==
1. Open a Unity game, like Prodeus.
2. Alt+Tab twice.
== RESULT ==
- The game no longer responds to input: you lose all unsaved gameplay.
- This is an issue that many people are experiencing
(https://askubuntu.com/questions/299286/how-to-recover-focus-after-losing-it…)
== WORK-AROUND ==
wine reg add 'HKEY_CURRENT_USER\Software\Wine\X11 Driver' /t REG_SZ /v
UseTakeFocus /d N /f
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57434
Bug ID: 57434
Summary: Program doesn't run and Program Error Details window
popped up.
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: dogshed(a)gmail.com
Distribution: ---
Created attachment 77428
--> https://bugs.winehq.org/attachment.cgi?id=77428
backtrace
Program Error Details window popped up.
https://www.dropbox.com/s/awzrdiw5477c86r/EseeCloud_Setup_3.0.7.10.exe?dl=0
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57417
Bug ID: 57417
Summary: Failed to start Wineserver
Product: Wine
Version: 9.21
Hardware: aarch64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wineserver
Assignee: wine-bugs(a)winehq.org
Reporter: cdfrosty(a)gmail.com
Distribution: ---
Created attachment 77403
--> https://bugs.winehq.org/attachment.cgi?id=77403
Wine Arm64 Log
Hi there I am trying to compile and use Wine on Manjaro Arm64 but I am running
into a issue with Wineserver,
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57460
Bug ID: 57460
Summary: Wine Regedit and Wine Control don't minimize and
become unresponsive
Product: Wine
Version: 9.22
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: winewayland
Assignee: wine-bugs(a)winehq.org
Reporter: agarplayerarlon(a)gmail.com
Distribution: ---
I've attached a video of the issue
Basically those apps instead of minimizing they compress and become
unresponsive afterwards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.