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

failed to memorize column width in latest version #574

Open
trim21 opened this issue Apr 30, 2024 · 1 comment
Open

failed to memorize column width in latest version #574

trim21 opened this issue Apr 30, 2024 · 1 comment

Comments

@trim21
Copy link

trim21 commented Apr 30, 2024

if column config in initial config doesn't contain width field, column width is not memorized anymore.

how to reproduce:

using a old config with out column width config

then manully resize any column, for example, name.

refresh.

Actualy behavior

name column change to default width

expected habavoir

name column should use size after user manully resize

@trim21 trim21 closed this as completed Apr 30, 2024
@trim21 trim21 changed the title failed to save column width in latest version failed to memorize column width in latest version May 1, 2024
@trim21 trim21 reopened this May 1, 2024
@johman10
Copy link
Owner

@trim21 I tried to reproduce this without success. I can, as long as I use the same browser, resize a column and make it stick.

Example config used:

{
    "DARK_MODE": "auto",
    "SWITCH_COLORS": false,
    "NOTATION_24H": true,
    "WRAP_HEADER": false,
    "COMMON_PATH": [],
    "COLUMNS": [
        "Name",
        "Progress",
        "ETA",
        "Download Speed",
        "Upload Speed",
        "File Size",
        "Downloaded",
        "Uploaded",
        "Downloading from",
        "Seeding to"
    ],
    "SORT_COLUMN": "Progress",
    "SORT_DIRECTION": "desc",
    "SHOW_DISK_USAGE": true
}

Since the configuration is stored in localstorage (a browser specific storage) it will not automatically apply when switching browsers or using incognito mode but otherwise it applies as expected in my experience.

Please validate your config and if you still experience this validate that localStorage has an updated value once you make a change in column width through the UI. If you still experience the issue please share your config.json file here.

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

2 participants