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

The longest Executor command on the right side is always truncated #83

Open
mkalinski opened this issue May 19, 2024 · 0 comments
Open

Comments

@mkalinski
Copy link
Contributor

The bug occurs on Gnome 46. It did not occur on Gnome 45.

This is a very odd bug that's a bit hard to describe.

To reproduce:

  1. Create any command in the right panel of executor settings.
  2. The output from this command will not show in full, unless it outputs just one character. Otherwise, a ... will replace it, or part of it.

image
The ... on the right side is the output from a command echo 'aa'.

The weird stuff starts happening when there are multiple commands.

It the multiple commands produce output of the same length, the last output will be truncated.
Screenshot from 2024-05-19 13-49-59
This is output from two echo 'new command' commands. The last one gets the ....

However, if the command outputs are of differing lengths, the longest will be truncated.
image
Here, there are two echo 'new command' commands, and one echo 'new commandaaaaaaaaaaaa' command. the longest is truncated.

You can also see that the truncation is not dependant on the length of the output itself. No matter how long or short it is, part of it will be cut off.

The truncation also doesn't depend on the position of the Executor panel on the right side of the top bar.

Also, and I don't know if it's related, in the logs there's this getting spammed:

Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack traceof the failed promise:
execCommand@file:///home/mk/.local/share/gnome-shell/extensions/[email protected]/extension.js:239:22
handleCurrentQueue@file:///home/mk/.local/share/gnome-shell/extensions/[email protected]/extension.js:223:14
checkQueue@file:///home/mk/.local/share/gnome-shell/extensions/[email protected]/extension.js:209:18
checkQueue/<@file:///home/mk/.local/share/gnome-shell/extensions/[email protected]/extension.js:213:26
@resource:///org/gnome/shell/ui/init.js:21:20

But it doesn't depend on the truncated commands being shown or not.

@mkalinski mkalinski changed the title The longest executor command on the right side is always truncated The longest Executor command on the right side is always truncated May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant