Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i3+dmenu_extended_run cannot handle UTF-8 in filename #3644

Closed
makkanx opened this Issue Mar 14, 2019 · 4 comments

Comments

Projects
None yet
3 participants
@makkanx
Copy link

makkanx commented Mar 14, 2019

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

When I use dmenu_extended_run from i3 with a shortcut it does not open a specific ods file.
If I use dmenu_extended_run from a teminal with python ~/dmenu-extended/dmenu_extended.py it opens that specific file. Another ods file opens with both methods. The two files are in the same location.
The difference is that the file that does not open has UTF-8 characters in the name. If I rename the file and rebuild the cache it opens so it seems the combination of i3+dmenu_extended_run cannot handle UTF-8.

Expected Behavior

File with UTF-8 in name should open.

Reproduction Instructions

Try to open a file with å, ä or ö in the name with a shortcut to dmenu_extended_run.

Environment

Output of i3 --moreversion 2>&-:

i3 version: 
Binary i3 version:  4.16.1 (2019-01-27) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16.1 (2019-01-27) (pid 3628)abort…)
Loaded i3 config: /home/epkmark/.i3/config (Last modified: tor 14 mar 2019 10:22:27, 1394 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3



Logfile URL:
The logfile has one try when it works and one when it does not work.
https://logs.i3wm.org/logs/5658054045466624.bz2
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

Using xcompmgr
@i3bot

This comment has been minimized.

Copy link

i3bot commented Mar 14, 2019

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

@i3bot i3bot added the 4.16 label Mar 14, 2019

@Airblader

This comment has been minimized.

Copy link
Member

Airblader commented Mar 14, 2019

Neither dmenu nor dmenu_extended are developed by us, and all that we do is open a shell to run the command. I assume that the problem is some environment variable issue of some sort.

@makkanx

This comment has been minimized.

Copy link
Author

makkanx commented Mar 14, 2019

If I run dmenu_extended_run separately from a terminal it works so I don't see that the issue is with dmenu_extended_run. It does not work when it is started with, in my case win+p
bindsym $mod+p exec --no-startup-id dmenu_extended_run

@makkanx

This comment has been minimized.

Copy link
Author

makkanx commented Mar 16, 2019

I got confirmation that it is an dmenu_extended_run issue so closing this.

@makkanx makkanx closed this Mar 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.