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-nagbar: Message text doesn't seem to wrap #3625

Open
kbhasi opened this Issue Feb 18, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@kbhasi
Copy link

kbhasi commented Feb 18, 2019

I'm submitting a…

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

Current Behavior

I simulated an error message for a project I'm working on (where I plan to recommend i3 for the WM, and provide a custom configuration to use with it), and found that the text gets cut off, and/or hidden behind buttons.

My simulated error message
Default i3 exit message
Ignore the red error text in i3bar, as I'll be using a different status bar provider later on.

Expected Behavior

The text should be soft wrapped, so that the full message is visible, and not cut off nor hidden behind buttons.

Reproduction Instructions

  1. The resolution I set my Xephyr window in the screenshots to, is 1404x1872 at 192 dpi. However, I have observed this bug on Xephyr screens with 600 pixels or lower horizontal resolution at 96 dpi.
  2. Just bring up a terminal window and run an i3-nagbar command with a long amount of text.
    • Here's the command I used in the first screenshot:
i3-nagbar -t error -m "Project Barry startup failed for the following reason: Unable to find Calibre in directories indicated in your PATH variable." -f "pango:Liberation Serif 10" -B "Restart i3" "i3-msg restart"

Environment

I'm using the version 4.16.1 provided in the Debian 10 "main" repository.
Output of i3 --moreversion 2>&-:

Binary i3 version:  4.16.1 (2019-01-27) © 2009 Michael Stapelberg and contributors

Running version: < 4.2-200

I had posted my configuration file on Pastebin here, and it's primarily the default configuration, with some elements copied from a separate configuration file I'll be using for the project.

Logfile URL:
- Linux Distribution & Version: Debian 10 on "testing" branch, inside a schroot environment on the same distro version/branch on the host
- Are you using a compositor (e.g., xcompmgr or compton): No.

@i3bot i3bot added the bug label Feb 18, 2019

@i3bot

This comment has been minimized.

Copy link

i3bot commented Feb 18, 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.)

@kbhasi

This comment has been minimized.

Copy link
Author

kbhasi commented Feb 18, 2019

APT in my test environment is broken, so I can't install bzip2 and curl to be able to send the log. I think I'll rebuild the environment, when I have the time to do so.

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.