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

A couple of fixes #32

Closed
wants to merge 2 commits into from
Closed

A couple of fixes #32

wants to merge 2 commits into from

Conversation

darkelectron
Copy link
Contributor

@darkelectron darkelectron commented May 21, 2021

No description provided.

@phenax
Copy link
Owner

phenax commented May 21, 2021

@Darkelectro I'm currently unable to test the fix out. Will merge once that's done.

@darkelectron
Copy link
Contributor Author

Alright. Forgot to mention that this may resolve #20

Worked without the --master-size on my end.

@darkelectron
Copy link
Contributor Author

This new PR fixes #12.
It recalculates whenever one focuses on that particular desktop.

@darkelectron darkelectron requested a review from phenax June 26, 2021 03:02
@darkelectron darkelectron changed the title add flag and state on node subscribe A couple of fixes Jun 26, 2021
@darkelectron
Copy link
Contributor Author

ping @phenax

@no3m
Copy link

no3m commented Oct 19, 2021

applied the changes to local script from PR 1a18d8a and was still getting goofy behavior when opening new floating windows or un-hiding floating windows... sometimes the layout and the floating window were un-effected; other times, either the tiled layout got messed up or one dimension of the floating window would be reduced to zero (basically just borders visible).

Found this from another fork:
floscr@413ce6f

adding .!floating to the node_filter in the layouts where applicable seems to help, nothing strange observed so far, but need to test more....

@no3m
Copy link

no3m commented Oct 19, 2021

still cases where changes based on PR and .!floating filter fail. Example:

set 'tall' (maybe others) layout on desktop, open ONE terminal... now launch an application w/ state=floating rule (lxappearance tested). The floating window gets squashed to zero width dimension (height unchanged).

Things seem normal when two or more tiled windows are open.

@darkelectron
Copy link
Contributor Author

I think it depends on the floating app. Haven't been able to reproduce though.

Copy link
Owner

@phenax phenax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't seem to have fixed the floating issue. The problem with floating windows is that they aren't being ignored in the layout.

@@ -123,7 +123,24 @@ start_listener() {

[[ "$source" != "$dest" ]] && recalculate_layout;
else
recalculate_layout;
desk_file="/tmp/bsp-layout_desktop.txt"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you move this to util/state.sh and inside the /tmp/bsy-layout.state/ directory? The api will be much cleaner as some_function 1 instead of the file name being repeated and echo-redirect in multiple places.

@amtoine
Copy link
Collaborator

amtoine commented Jun 18, 2022

Doesn't seem to have fixed the floating issue.

i confirm that the problem still is present.
i do not have the exact same bug as in #20, but the floating window sometimes gets included in the background tilling 🤔

see this clip
the last floating window, when removing the main window in the rtall layout,, i.e. the one to the right labeled "monferno", gets squished to the right as if it was the new main frame

@amtoine
Copy link
Collaborator

amtoine commented Jun 18, 2022

and apart from that, i have to admit i'm not sure what this PR is doing...

@darkelectron, do you still have in mind what you wanted to do here? that would be really great to help me figure out why the floating bug isn't resolved 😋

@amtoine amtoine added the stale When an issue or a PR hasn't been udating for a while label Jun 21, 2022
@amtoine
Copy link
Collaborator

amtoine commented Jun 25, 2022

Hi @darkelectron 👋 😋

as this PR has ben stale for more than a year now, we've decided with @phenax to move the changes to a2n-s/ignore and apply the requested changes there 👍

hope you'll understand 😉

@amtoine amtoine closed this Jun 25, 2022
@amtoine amtoine mentioned this pull request Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale When an issue or a PR hasn't been udating for a while
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants