https://bugs.winehq.org/show_bug.cgi?id=47508
Bug ID: 47508 Summary: FL Studio: Pressing backspace while editing the name of something closes edit name window prematurely Product: Wine Version: 4.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: ajduck@outlook.com Distribution: ---
Created attachment 64895 --> https://bugs.winehq.org/attachment.cgi?id=64895 A channel highlighted in the channel rack
Since Wine 4.9, pressing backspace to remove text while editing the name of something closes the window and sets the name as whatever was in the box usually with one character removed. Before 4.9 pressing backspace only removed a character without closing the window which is correct behaviour.
Steps to reproduce: 1. Open FL Studio. 2. Press F6 to open the channel rack. If nothing appears or a window disappeared, press F6 again. 3. There are probably already a few "channels" in the project file (possibly the demo project opened up). See the image attached. You need to hold shift and click on the highlighted bit, which is a channel. (Alternatively right click and select "Rename, color and icon..."). You can pick any channel for this. 4. The edit name window will appear. Type anything, then press backspace to try and remove a character.
What is expected: It should remove a character without closing the window, as text editing usually goes.
What actually happens: It closes the edit name window.
Sometimes pressing backspace again after the edit name window has closed (especially when doing this on the mixer) goes on to close the playlist (the window with a big grid) which is not normal behaviour (doesn't happen before 4.9 either). Pressing backspace usually only changes the snap settings (the little drop down menu at the top panel of the main FL Studio window which has a magnet by it).
https://bugs.winehq.org/show_bug.cgi?id=47508
ajduck@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
https://bugs.winehq.org/show_bug.cgi?id=47508
--- Comment #1 from ajduck@outlook.com --- Also, yes, this still happens in the most recent Wine version (4.12.1). It's just 4.9 is the version the bug started (I went and tested previous versions because I remember it started happening at some point).
https://bugs.winehq.org/show_bug.cgi?id=47508
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- So Wine 4.8 works and 4.9 doesn't? Could you run a bisect to figure out exact breaking point? See https://wiki.winehq.org/Regression_Testing#Running_the_bisection.
https://bugs.winehq.org/show_bug.cgi?id=47508
--- Comment #3 from ajduck@outlook.com --- Okay, I've done the regression test. The commit that introduces the bug is commit 4a6e69ad3aff6fff2817b05ee2cdcc7e94f960a5 (libwine: Ignore 0 weights as described in Unicode collation algorithm.).
https://source.winehq.org/git/wine.git/commit/4a6e69ad3aff6fff2817b05ee2cdcc...
https://bugs.winehq.org/show_bug.cgi?id=47508
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |4a6e69ad3aff6fff2817b05ee2c | |dcc7e94f960a5
https://bugs.winehq.org/show_bug.cgi?id=47508
Ken Thomases ken@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=47508
--- Comment #4 from ajduck@outlook.com --- Any updates or developments on this issue?
https://bugs.winehq.org/show_bug.cgi?id=47508
--- Comment #5 from ajduck@outlook.com --- Oops I forgot to add, yes the issue is still present as of Wine 4.20.
https://bugs.winehq.org/show_bug.cgi?id=47508
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #6 from Piotr Caban piotr.caban@gmail.com --- The application tries to compare following strings: L"\x0008" and L""
The strings are identical according to Unicode Collation Algorithm (that is used in wine to compare Unicode strings). In order to fix this bug we will need to use different algorithm or modify the collation tables.
Note for people trying to reproduce it: the application starts for me only when stdout/stderr is redirected (doesn't work when output goes to console).
https://bugs.winehq.org/show_bug.cgi?id=47508
Ansgar muell@anse.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |muell@anse.de
--- Comment #7 from Ansgar muell@anse.de --- I'm unsure if this is related, but to me it looks as if it is. In current HeidiSQL versions, pressing Backspace while typing into a grid cell changes the active tab of a parent page control, stealing focus from the edited grid cell. This applies to Wine 5.0, but also v5.5 and according to a user v4.12.1 is affected. v4.0 works as expected! I am the author of HeidiSQL and was just debugging various places where some hotkey handler could interfere with the typed backspace. But even if I disable all of them, Backspace still switches the active tab of the mentioned page control.
https://bugs.winehq.org/show_bug.cgi?id=47508
--- Comment #8 from Ansgar muell@anse.de --- User PaulBGD compiled a few Wine versions and found that this commit causes the backspace issue in HeidiSQL, since release 4.9: https://github.com/wine-mirror/wine/commit/4a6e69ad3aff6fff2817b05ee2cdcc7e9... . Neither he nor me knows *why* this is causing it, so could anyone look into the few changes of that commit to find a solution?
https://bugs.winehq.org/show_bug.cgi?id=47508
--- Comment #9 from ajduck@outlook.com --- It's known! I already did a regression test a few months ago and found that very commit you linked to was causing the problem.
Piotr Caban (a Wine dev) then said it was to do with the fact that the Unicode Collation Algorithm introduced in that commit considers a backspace character the same as a blank string. So either the algorithm will have to be changed to a different one or it will need to be modified.
The issue is a bit annoying but I've learned to work around it (use Delete key instead of backspace).
https://bugs.winehq.org/show_bug.cgi?id=47508
Paul Sauve paul@burngames.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |paul@burngames.net
--- Comment #10 from Paul Sauve paul@burngames.net --- Ah, I really should've read this thread more closely instead of getting excited to use git bisect. I'm going to spend some time with this and try to figure out how we can get this to match Windows behavior.
https://bugs.winehq.org/show_bug.cgi?id=47508
--- Comment #11 from Piotr Caban piotr.caban@gmail.com --- (In reply to Paul Sauve from comment #10)
I'm going to spend some time with this and try to figure out how we can get this to match Windows behavior.
Currently there's some work in this area. The plan is to use Microsoft's tables to handle comparison and sortkeys.
https://bugs.winehq.org/show_bug.cgi?id=47508
winehq@trummer.xyz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@trummer.xyz
https://bugs.winehq.org/show_bug.cgi?id=47508
Moritz moritz.spindelhirn@timbertom.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |moritz.spindelhirn@timberto | |m.de
https://bugs.winehq.org/show_bug.cgi?id=47508
bugs.winehq.org@yapsr.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bugs.winehq.org@yapsr.nl
--- Comment #12 from bugs.winehq.org@yapsr.nl --- I can confirm the backspace bug is still there, in wine-5.0.2 (Debian 10 stretch) and HeidSQL 11.0.0.5919 (64bit).
Would be nice if this nasty behaviour could be solved.
https://bugs.winehq.org/show_bug.cgi?id=47508
exuvo@exuvo.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |exuvo@exuvo.se
https://bugs.winehq.org/show_bug.cgi?id=47508
karpuzmelone5@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |karpuzmelone5@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47508
Stan Angeloff stanimir@angeloff.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stanimir@angeloff.name
https://bugs.winehq.org/show_bug.cgi?id=47508
thom.michelbrink@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thom.michelbrink@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47508
Reuben heidisql@jaycom.co.za changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |heidisql@jaycom.co.za
--- Comment #13 from Reuben heidisql@jaycom.co.za ---
Just installed HeidiSQL 11.3.0.6295 (mint 20.3)
I had the backspace issue and the wine Config showed "system" as the version.
Backspace issue was resolved using below versions
playonlinux 4.3.4 wine 6.18 staging
https://bugs.winehq.org/show_bug.cgi?id=47508
--- Comment #14 from winehq@trummer.xyz --- Has this been resolved?
It works fine for me with FL Studio 20.9.2 on Wine 7.18.
https://bugs.winehq.org/show_bug.cgi?id=47508
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |d8c973ad95ba5e8a9a51df0dd9b | |e587950179ec3
--- Comment #15 from Piotr Caban piotr.caban@gmail.com --- I no longer have the FL studio installer I have used to reproduce it. The problem described in comment #6 was fixed by d8c973ad95ba5e8a9a51df0dd9be587950179ec3.
Marking as fixed since it works with FL Studio 20.9.2.
https://bugs.winehq.org/show_bug.cgi?id=47508
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.1.