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] PermissionsViewer in profile is misaligned on users with connections #781

Open
Leah96xxx opened this issue Sep 17, 2024 · 3 comments
Labels

Comments

@Leah96xxx
Copy link

Which plugin/theme is this about?
PermissionsViewer v0.2.11

Describe the Bug
Following updating to PermissionsViewer v0.2.11 to fix the issue in #776 I noticed that the permission list is misaligned only for users who have connections. User without connections are OK. I have confirmed that this is the case both with and without my theme enabled. Also tried restarting Discord and deleting PermissionsViewer.config.json.

To Reproduce
Upgrade to PermissionsViewer v0.2.11

Expected Behavior
All permissions to be aligned with correct padding/margins

Screenshots

User without connections

image

User with connections

image

Discord Version
Stable

Additional Context

@Leah96xxx Leah96xxx added the bug label Sep 17, 2024
@zerebos
Copy link
Owner

zerebos commented Dec 17, 2024

I can't find anyone with a user popout like this anymore

@Leah96xxx
Copy link
Author

Leah96xxx commented Dec 17, 2024

I can't find anyone with a user popout like this anymore

Ah, my bad. I only just noticed that the connections showing like that were from another plugin that I completely forgot about: DevilBro's Show Connections. I completely forgot that was even a thing and gaslit myself into thinking that was a vanilla feature, sorry!

Either way, looks like one of the plugins is conflicting with the other, but I can't tell which one is causing it. The console is no help since no errors or warnings are shown, except the following one which appears even if both those plugins are disabled:
[ComponentDispatchUtils] ComponentDispatch.subscribe: Attempting to add a duplicate listener POPOUT_CLOSE

I've also noticed that the position of the "Message user" box changes too. Without connections, the order will be Roles > Permissions > Message box while with connections it's Roles > Connections > Message Box > Permissions. I'm not sure if that information helps identify which one is causing my original bug or not.

Sorry again for the confusion from me forgetting what's from plugins and what's vanilla!

Also, on a side note, I may have accidentally found additional unintended behaviour that I don't think is related to this. When you click the 3 dots next to the permissions in a user's popout, it doesn't close the user popout, meaning you can click it several times and open several instances of the permissions popout. Do you want me to open a new issue for that?

@zerebos
Copy link
Owner

zerebos commented Dec 18, 2024

If you still want me to try and fix compatibility with that plugin then yes open a separate issue for that. Otherwise I can use this issue for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants