Skip to content

[17.0]web_remember_tree_column_width: can't remember change width column #3112

Description

@hamzaezzamane

Column width changes are not saved immediately and sometimes not applied
Module

Module

web_remember_tree_column_width

Describe the bug

When resizing a column in a tree view, the new width is only saved in local storage after clicking outside the table. If the user does not click outside, the width is not remembered. Additionally, in some cases, even after clicking outside, the new width is stored but not actually applied when reloading the page.

To Reproduce

Odoo 17

Steps to reproduce the behavior:
1.Resize a column in a tree view.
2.Do not click outside the table and refresh the page.
3.The column width is not remembered.
4.Resize a column and then click outside the table.
5.Refresh the page. Sometimes, the column width in local storage is updated, but the change is not applied in the UI.

Expected behavior
-The column width should be saved immediately when resized, without requiring an extra click outside the table.
-The stored column width should always be correctly applied when reloading the page.

Additional context
Odoo version: 17
Operating System: windonws 11
Browser: CHROME

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions