Skip to content

Notebookbar: open Table Design tab when inserting table in Calc#14427

Closed
banobepascal wants to merge 1 commit intomainfrom
private/banobepascal/table-design-tab
Closed

Notebookbar: open Table Design tab when inserting table in Calc#14427
banobepascal wants to merge 1 commit intomainfrom
private/banobepascal/table-design-tab

Conversation

@banobepascal
Copy link
Contributor

Change-Id: Id847e9d479ad265d7d0269e6f44a3378afbeea35

  • Resolves: #
  • Target version: main

Summary

  • Listen for TableAutoFillInfo state changes to detect when a table becomes active in spreadsheets.
  • Switch the Notebookbar context to Table when a table is active, revealing the Table Design contextual tab.

TODO

  • ...

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

@banobepascal
Copy link
Contributor Author

@eszkadev When we click ok in the Create Table dialog, we do not receive a context message. Instead, we receive a statechanged message:
{ "commandName": "TableAutoFillInfo", "state": { "rectangle": "6975, 30795, 105, 105"}},
which indicates whether the current focus is inside a table or a regular cell.

@caolanm caolanm force-pushed the private/banobepascal/table-design-tab branch from 1eb6d0f to c231608 Compare February 11, 2026 20:09
@eszkadev
Copy link
Contributor

@eszkadev When we click ok in the Create Table dialog, we do not receive a context message. Instead, we receive a statechanged message: { "commandName": "TableAutoFillInfo", "state": { "rectangle": "6975, 30795, 105, 105"}}, which indicates whether the current focus is inside a table or a regular cell.

Possibly something to improve in the core, can we "activate" / "select" table after it is created? cc: @bvarga91

- Listen for TableAutoFillInfo state changes to detect when a table
  becomes active in spreadsheets.
- Switch the Notebookbar context to Table when a table is active,
  revealing the Table Design contextual tab.

Signed-off-by: Banobe Pascal <banobe.pascal@collabora.com>
Change-Id: Ib00e8af1079fab68c0e09cebfeb97c5efe472efb
@banobepascal banobepascal force-pushed the private/banobepascal/table-design-tab branch from c231608 to c56b1fa Compare February 12, 2026 09:53
@eszkadev
Copy link
Contributor

we need real fix in core, I think no sense to merge this currently

@eszkadev eszkadev closed this Feb 14, 2026
@github-project-automation github-project-automation bot moved this from To Review to Done in Collabora Online Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants

Comments