Inkscape mangles win32 registry keys @(default) + Path in key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\inkscape.exe

Bug #644185 reported by anonymous
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Alvin Penner

Bug Description

On each invocation inkscape mangles these keys with random japanese characters garbage.

Seems like buffer error or locale error.

These keys contains information, used by windows system shell (explorer.exe) and several APIs, e.g. "run dialog" (press winkey+r to see) to execute an program, by single word "shortcut" e.g. by typing "inkscape" or "inkscape.exe".

This might be related to bug https://bugs.launchpad.net/inkscape/+bug/505107.

This path must be in all circumstances valid, otherwise the execution of sole "inkscape" or "inkscape.exe" in the "run dialog" and other related functionality fails.

More over current implementation does not even check the key, but directly overwrites it and this is WRONG. What if user has multiple inkscape instalaltions, but wants to invoke only certain one through "run dialog"? Please fix it.

Version causing this Inkscape 0.48.0 r9654.

Temporary FIX:

With registry editor fix the entries to correct path, set key security to read only for all users besides SYSTEM, this way the inkscape.exe process won't be able to overwrite the values.

Revision history for this message
anonymous (anon-bugs) wrote :
su_v (suv-lp)
tags: added: win32
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Windows XP, Inkscape 0.48.
With 0.47, the keys are correctly set (see attachment).

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :
su_v (suv-lp)
tags: added: regression
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on XP, Inkscape trunk revision 11649.

Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
jazzynico (jazzynico) wrote :

Regression introduced revision 9248, when fixing Bug #505107 "[Win32] Inkscape cannot find its resources (e.g. icons) when run from an Unicode directory".

Revision history for this message
Alvin Penner (apenner) wrote :

- fix committed to bzr rev 11928
- tested on Windows XP

Changed in inkscape:
status: Triaged → Fix Committed
su_v (suv-lp)
Changed in inkscape:
assignee: nobody → Alvin Penner (apenner)
milestone: none → 0.49
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.