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

[BUG] Cannot change lines property of listview during runtime in script mode #1917

Closed
2 tasks done
mageowl opened this issue Nov 9, 2023 · 3 comments
Closed
2 tasks done

Comments

@mageowl
Copy link

mageowl commented Nov 9, 2023

Rofi version (rofi -v)

1.7.5

Configuration

https://gist.github.com/mageowl/a1a5e579d4c18d5ee30723da8b6d18fa

Theme

https://gist.github.com/mageowl/a1a5e579d4c18d5ee30723da8b6d18fa

Timing report

No response

Launch command

rofi -show {script}

Step to reproduce

  1. Create a script stored in ~/.config/rofi/scripts/
#!/bin/env bash
# bug_report.bash
echo "Change number of lines"
[[ $ROFI_RETV = 1 ]] && echo "\0theme\xf1listview { lines: 1; }"
  1. Run rofi using rofi -show bug_report
  2. Choose the hello there option.

Expected behavior

After choosing the option, the number of displayed lines would be reduced to one.

Actual behavior

Nothing happens.

Additional information

No response

Using wayland display server protocol

  • No, I don't use the wayland display server protocol

I've checked if the issue exists in the latest stable release

  • Yes, I have checked the problem exists in the latest stable version
@mageowl mageowl added the bug label Nov 9, 2023
@mageowl
Copy link
Author

mageowl commented Nov 9, 2023

It also does not work to change the children property.

@DaveDavenport
Copy link
Collaborator

DaveDavenport commented Nov 10, 2023

Yes, this is not supported. The interface is build up once on startup and cannot be modified afterwards (except for some colors).

added clarification in manpage.

@DaveDavenport DaveDavenport removed the bug label Nov 10, 2023
@DaveDavenport DaveDavenport closed this as not planned Won't fix, can't repro, duplicate, stale Nov 16, 2023
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants