-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Grid view is broken #66
Comments
This existed before any of the merges thou, as discussed in zetta, but tracking and bisecting this issue is important, and I'll get on it after I'm done with the PRs |
After a bisect, I've arrive here:
Gonna see if I can solve it. |
The plot thickens ogham/rust-term-grid#11 |
I'm pretty sure we should move to https://github.com/uutils/uutils-term-grid (see ogham/rust-term-grid#15), but for now I'll try to go back to |
Agreed |
Regarding uutils/uutils-term-grid#6, do you think the behavior should change in uutils-term-grid? I don’t really care myself but I figured it could matter to some people here. |
I'm don't really care that much, at least when just looking at it initially. Of course if it's not that big of an issue, having it configurable would perhaps be preferred, but personally, I don't see it being an issue for my use. I'd be interested in how other people feel about it however. |
It's still broken for me, even in eza. Eza version: 0.11 |
Do you think you could post a screenshot of the output of |
I figured it out: it had to do with the width. For some reason, if I set Yakuake to 60%, which I prefer, eza does not do grid. However, if I set it to 80%, it does work. Why it does not work with 60% is beyond me, as my screen is 2560x1440, so I have plenty of space to show a proper grid with 60%, but oh well. Thanks for all of your input! |
UPDATE: actually, it doesn't always seem to work with 80% either. Only when I have a handful of files. In a folder with about 15 files, it doesn't work. |
I asked for a screenshot (but a copy-paste of the output would work as well) because otherwise it’s impossible to diagnose, since it triggers in only some cases. If you’re concerned about privacy, it should be possible to recreate the issue with different file names of the same length (if they sort in the same order). |
Also I should mention, |
This issue is stale because it has been open for 30 days with no activity. |
Maybe it is just my font size but I noticed that, at least on my computer, yakuake does not work with fzf ** completion whereas konsole does. I am also unable to see the processes in htop with yakuake. So it seems to me that yakuake has some trouble showing some tui processes (but maybe it is just my font size). |
I'm pretty sure this issue has been resolved by now, if not, let me know and we can always reopen. |
ysh ysh-0.22.0$ eza --version
eza - A modern, maintained replacement for ls
v0.18.17 [+git]
https://github.com/eza-community/eza
ysh ysh-0.22.0$ eza --long --grid
drwxr-xr-x - anthony 14 Jun 04:28 debian-nosh drwxr-xr-x - anthony 22 Jun 17:20 projects drwxr-xr-x - anthony 22 Jun 18:58 space
.rw-r--r-- 28k anthony 14 Jun 20:52 guix-install.sh drwxr-xr-x - anthony 23 Jun 19:05 soccoop drwxr-xr-x - anthony 25 Jun 23:17 vpnn
ysh ysh-0.22.0$ env EZA_GRID_ROWS=10 eza --long --grid
drwxr-xr-x - anthony 14 Jun 04:28 debian-nosh drwxr-xr-x - anthony 22 Jun 17:20 projects drwxr-xr-x - anthony 22 Jun 18:58 space
.rw-r--r-- 28k anthony 14 Jun 20:52 guix-install.sh drwxr-xr-x - anthony 23 Jun 19:05 soccoop drwxr-xr-x - anthony 25 Jun 23:17 vpnn
ysh ysh-0.22.0$ env EZA_GRID_ROWS=666 eza --long --grid
drwxr-xr-x - anthony 14 Jun 04:28 debian-nosh drwxr-xr-x - anthony 22 Jun 17:20 projects drwxr-xr-x - anthony 22 Jun 18:58 space
.rw-r--r-- 28k anthony 14 Jun 20:52 guix-install.sh drwxr-xr-x - anthony 23 Jun 19:05 soccoop drwxr-xr-x - anthony 25 Jun 23:17 vpnn |
This comment was marked as abuse.
This comment was marked as abuse.
Yes, yes they are. Look, you were even so nice and provided an example of a working rust project, as far as I can tell: #66 (comment) |
This comment was marked as abuse.
This comment was marked as abuse.
The only thing I can imagine from your example is that your terminal is wide enough that more rows could fit but only a maximum of 3 rows is rendered. But that is only a suspicion. |
In which case does terminal_size::terminal_size_using_fd return None? Could the terminal be incompatible?
Line 462 in c58ddcb
If the terminal width is None, then EZA_GRID_ROWS has no effect. https://github.com/eza-community/eza/blob/main/src/main.rs#L471 Are any other eza or exa environment variables set in the terminal session? Which terminal is in use on which OS? |
The issue I can see in #66 (comment) is that EZA_GRID_ROWS=N should make eza use grid view only if at least N rows would be displayed, and use non grid row view for shorter result sets. However, even with EZA_GRID_ROWS=10 or even =666, the result is rendered as grid despite being only 6 items long. |
oohhh, you're right. |
@tribals has been blocked from all @eza-community projects for the time being, we do not tolerate that kind of behavior |
I believe the match on |
Maybe a separate issue should be opened for this, sounds like you're halfway to a PR as well :) |
Grid details view had been prevented only by console width being unavailable. This changeset implements `EZA_GRID_ROWS` as secondary grid details inhibitor, preventing grid details view if the minimum rows threshold is not reached by the number of files matched. Fixes complaint at eza-community#66 (comment)
Nerd-sniped. Pull request: #1043 (The CI failure of Flake Checker appears unrelated. ➡️ DeterminateSystems/flake-checker-action#32) I noticed that However, from a functionality perspective, as an end user I would expect this to apply to plain The second prompt should, to my intuition, result in a list view like |
Grid details view had been prevented only by console width being unavailable. This changeset implements `EZA_GRID_ROWS` as secondary grid details inhibitor, preventing grid details view if the minimum rows threshold is not reached by grid which would be rendered. Fixes complaint at eza-community#66 (comment)
Grid details view had been prevented only by console width being unavailable. This changeset implements `EZA_GRID_ROWS` as secondary grid details inhibitor, preventing grid details view if the minimum rows threshold is not reached by grid which would be rendered. Fixes complaint at eza-community#66 (comment)
Grid details view had been prevented only by console width being unavailable. This changeset implements `EZA_GRID_ROWS` as secondary grid details inhibitor, preventing grid details view if the minimum rows threshold is not reached by grid which would be rendered. Fixes complaint at eza-community#66 (comment)
Grid details view had been prevented only by console width being unavailable. This changeset implements `EZA_GRID_ROWS` as secondary grid details inhibitor, preventing grid details view if the minimum rows threshold is not reached by grid which would be rendered. Fix: eza-community#66 (comment) Fix: eza-community#1044 BREAKING CHANGE: Before this change, the `EZA_GRID_ROWS` variable was ignored, despite documentation existing. Users relying on `EZA_GRID_ROW` not doing anything will find their output changed. For more info, see
Grid details view had been prevented only by console width being unavailable. This changeset implements `EZA_GRID_ROWS` as secondary grid details inhibitor, preventing grid details view if the minimum rows threshold is not reached by grid which would be rendered. Fix: eza-community#66 (comment) Fix: eza-community#1044 BREAKING CHANGE: Before this change, the `EZA_GRID_ROWS` variable was ignored, despite documentation existing. Users relying on `EZA_GRID_ROW` not doing anything will find their output changed. For more info, see
Grid details view had been prevented only by console width being unavailable. This changeset implements `EZA_GRID_ROWS` as secondary grid details inhibitor, preventing grid details view if the minimum rows threshold is not reached by grid which would be rendered. Fix: #66 (comment) Fix: #1044 BREAKING CHANGE: Before this change, the `EZA_GRID_ROWS` variable was ignored, despite documentation existing. Users relying on `EZA_GRID_ROW` not doing anything will find their output changed. For more info, see
Grid details view had been prevented only by console width being unavailable. This changeset implements `EZA_GRID_ROWS` as secondary grid details inhibitor, preventing grid details view if the minimum rows threshold is not reached by grid which would be rendered. Fix: eza-community#66 (comment) Fix: eza-community#1044 BREAKING CHANGE: Before this change, the `EZA_GRID_ROWS` variable was ignored, despite documentation existing. Users relying on `EZA_GRID_ROW` not doing anything will find their output changed. For more info, see
Grid details view had been prevented only by console width being unavailable. This changeset implements `EZA_GRID_ROWS` as secondary grid details inhibitor, preventing grid details view if the minimum rows threshold is not reached by grid which would be rendered. Fix: eza-community#66 (comment) Fix: eza-community#1044 BREAKING CHANGE: Before this change, the `EZA_GRID_ROWS` variable was ignored, despite documentation existing. Users relying on `EZA_GRID_ROW` not doing anything will find their output changed. For more info, see
ogham/exa#1165 (comment)
syphar/zetta#4
The text was updated successfully, but these errors were encountered: