BetterDiscordStuff icon indicating copy to clipboard operation
BetterDiscordStuff copied to clipboard

[ChannelTabs] Issue: Crash on startup

Open Miyxzu opened this issue 3 years ago • 25 comments

Before you submit an issue please restart your discord. If the issue is still there feel free to write a bug report.

Describe the bug On startup, ChannelTabs will immediately crash your instance of Discord.

To Reproduce Steps to reproduce the behavior: (Not officially sure if this is how it is supposed to reproduced as I cannot reproduce it without it crashing)

  1. Go to ChannelTabs drop-down menu (Top right)
  2. Go through some of the different menus
  3. Crash will possibly occur

When restarting discord

  1. Crash right after startup

Expected behavior Discord will continue through startup and return to where you left off and ChannelTabs will work as intended

Screenshots If applicable, add screenshots to help explain your problem. Please also check the console by pressing Ctrl + Shift + I and send screenshots of errors (red messages) Screen Shot 2023-02-13 at 21 14 01 773

I have a video recording of it happening but its too big to add into this bug report so I added it to a drive folder https://drive.google.com/drive/folders/10c-abxVpHe02zdnjekI0jH1IgfQw_z1H?usp=share_link

Information (please complete the following information):

  • OS: MacOS
  • Plugin Version: 2.6.5
  • Discord version: PTB, Canary
  • Compact Mode enabled? No

Additional context Add any other context about the problem here.

Miyxzu avatar Feb 13 '23 14:02 Miyxzu

Closed issue due to being outdated plugin version

Miyxzu avatar Feb 13 '23 14:02 Miyxzu

I have figured out how to replicate the crashing issue, though it will no longer constantly crash on startup possibly due to updated plugin version

  1. Go to ChannelTabs drop-down menu (Top right)
  2. Hover over Appearance tab

Uploading Screen Recording 2023-02-13 at 21.41.37.269.mov…

Another way that it can be caused is by adding a channel to favorites

  1. Right-click channel you would like to add to favorites
  2. Hover over ChannelTabs menu
  3. Click on "Save Channel as Bookmark"

Uploading Screen Recording 2023-02-13 at 21.42.33.023.mov…

Console error for the two is the same as listed before (React error)

Miyxzu avatar Feb 13 '23 14:02 Miyxzu

I just downloaded the updated plugin from this repository, and my discord is still crashing on startup with the same as this person was getting..

jacobh12349 avatar Feb 14 '23 02:02 jacobh12349

Same, getting crashes on startup since yesterday. Discord update?

skarndev avatar Feb 14 '23 06:02 skarndev

Typing Indicators (Show Typing) on all the badge visibility settings crashes discord solution for the time being is disable the show typing in the settings on all of the badge visibility sub options. Open the config file for the plugin and change all the TypingBadge from true to false.

ghost avatar Feb 14 '23 07:02 ghost

Typing Indicators (Show Typing) on all the badge visibility settings crashes discord solution for the time being is disable the show typing in the settings on all of the badge visibility sub options. Open the config file for the plugin and change all the TypingBadge from true to false.

Worked, thanks!

skarndev avatar Feb 14 '23 07:02 skarndev

Typing Indicators (Show Typing) on all the badge visibility settings crashes discord solution for the time being is disable the show typing in the settings on all of the badge visibility sub options. Open the config file for the plugin and change all the TypingBadge from true to false.

worked for me too thx!

jacobh12349 avatar Feb 14 '23 08:02 jacobh12349

Typing Indicators (Show Typing) on all the badge visibility settings crashes discord solution for the time being is disable the show typing in the settings on all of the badge visibility sub options. Open the config file for the plugin and change all the TypingBadge from true to false.

Where is located the config file ? What is the name of the file ?

iokza avatar Feb 14 '23 11:02 iokza

@Skorflex AppData\Roaming\BetterDiscord\plugins

mickeygeecom avatar Feb 14 '23 11:02 mickeygeecom

@Skorflex AppData\Roaming\BetterDiscord\plugins

What should I change? I don't understand ..

iokza avatar Feb 14 '23 11:02 iokza

@Skorflex If you don't know how to edit config/json files, you're properly better off by just running BetterDiscord setup again, and use the repair option - and dont use ChannelTabs plugin untill it's been updated.

EDIT; Also I couldn't make the method above to resolve the issue, so I'm also awaiting a fix.

mickeygeecom avatar Feb 14 '23 11:02 mickeygeecom

@Skorflex If you don't know how to edit config/json files, you're properly better off by just running BetterDiscord setup again, and use the repair option - and dont use ChannelTabs plugin untill it's been updated.

😢😿

iokza avatar Feb 14 '23 11:02 iokza

Typing Indicators (Show Typing) on all the badge visibility settings crashes discord solution for the time being is disable the show typing in the settings on all of the badge visibility sub options. Open the config file for the plugin and change all the TypingBadge from true to false.

Thanks its worked

iokza avatar Feb 14 '23 12:02 iokza

Typing Indicators (Show Typing) on all the badge visibility settings crashes discord solution for the time being is disable the show typing in the settings on all of the badge visibility sub options. Open the config file for the plugin and change all the TypingBadge from true to false.

Legend! Thank you so much

GirthFromBirth avatar Feb 15 '23 10:02 GirthFromBirth

Typing Indicators (Show Typing) on all the badge visibility settings crashes discord solution for the time being is disable the show typing in the settings on all of the badge visibility sub options. Open the config file for the plugin and change all the TypingBadge from true to false.

This solution doesn't seem to work for me. It is only these lines that should be set to false right?

image

heldheld avatar Feb 19 '23 16:02 heldheld

Typing Indicators (Show Typing) on all the badge visibility settings crashes discord solution for the time being is disable the show typing in the settings on all of the badge visibility sub options. Open the config file for the plugin and change all the TypingBadge from true to false.

This solution doesn't seem to work for me. It is only these lines that should be set to false right?

image

Are you editing the config file that has your userid?

ghost avatar Feb 19 '23 18:02 ghost

Are you editing the config file that has your userid?

I see! I was editing the wrong file. It's working now, thanks!

heldheld avatar Feb 19 '23 20:02 heldheld

I cant even click the edit plugin button as i uninstalled the plugin, the moment i install it discord crashes, i then need to reinstall BetterDiscord from a fresh installation

dharma24 avatar Feb 21 '23 14:02 dharma24

I cant even click the edit plugin button as i uninstalled the plugin, the moment i install it discord crashes, i then need to reinstall BetterDiscord from a fresh installation

Can you repair BetterDiscord after discord crashes making it disabled on startup? If not then while Discord crashes on startup you should still be able to navigate to the config folder in AppData and modify the file without having to open Discord at all.

Wolverine327 avatar Feb 21 '23 20:02 Wolverine327

I have repaired Better Discord, Removed it and reinstalled, still the same problem occurs. Which file to i need to alter

dharma24 avatar Feb 22 '23 00:02 dharma24

I have repaired Better Discord, Removed it and reinstalled, still the same problem occurs. Which file to i need to alter

Go to your plugin folder, %appdata%/betterdiscord/plugins and edit the channel tabs config that has your username, and set the ones with Typing to false.

ghost avatar Feb 22 '23 00:02 ghost

The only files i see are ChannelTabs.config.json and ChannelTabs.plugin.js

config file shows this:

{
    "currentVersionInfo": {
        "version": "2.6.6",
        "hasShownChangelog": true
    }
}

dharma24 avatar Feb 22 '23 12:02 dharma24

Typing Indicators (Show Typing) on all the badge visibility settings crashes discord solution for the time being is disable the show typing in the settings on all of the badge visibility sub options. Open the config file for the plugin and change all the TypingBadge from true to false.

Legend! Thank you so much

Thanks, this helps alot

nintend01337 avatar Feb 22 '23 15:02 nintend01337

The only files i see are ChannelTabs.config.json and ChannelTabs.plugin.js

config file shows this:

{
    "currentVersionInfo": {
        "version": "2.6.6",
        "hasShownChangelog": true
    }
}

For me, it was under a file named "ChannelTabs_new_#######.config.json" that contained a settings field with the typing indicator variables. Do you have a similar config file?

Wolverine327 avatar Feb 22 '23 17:02 Wolverine327

Typing Indicators (Show Typing) on all the badge visibility settings crashes discord solution for the time being is disable the show typing in the settings on all of the badge visibility sub options. Open the config file for the plugin and change all the TypingBadge from true to false.

yo thanks for this!

0xMiyu avatar Feb 23 '23 08:02 0xMiyu