jonorthwash / ud-annotatrix

GNU General Public License v3.0
61 stars 49 forks source link

Minor issues with table view #333

Closed jonorthwash closed 2 years ago

jonorthwash commented 5 years ago
diogoscf commented 5 years ago

Any ideas on what the mentioned shortcuts could be?

jonorthwash commented 5 years ago

For table mode, something with a t maybe? I don't know what the general schema is, and there's a lot to think about in terms of conflicts: browser and OS shortcuts, entering text in the graph view, etc.

For expanding and collapsing the column, I'm not sure. Do you have any thoughts on this?

diogoscf commented 5 years ago

I’ll think about possible shortcuts.

  • [ ] Currently table navigation mode allows you to go into cells of collapsed columns, but does not highlight those cells. It should highlight those cells (probably in a slightly different way than uncollapsed cells).

Actually it does highlight the collapsed cells for me

jonorthwash commented 5 years ago

Actually it does highlight the collapsed cells for me

Aha, it works in chromium for me. So this is a firefox-specific bug I guess?

jonorthwash commented 5 years ago

The collapsing issues still seem to be present in firefox too—things are working a lot more nicely in chromium in general.

diogoscf commented 5 years ago

Aha, it works in chromium for me. So this is a firefox-specific bug I guess?

I tested it in both. That’s really weird

jonorthwash commented 5 years ago

What version of firefox? I'm running 60.0, it seems.

diogoscf commented 5 years ago

That issue was actually happening when the table got rebuilt (when rebuild() was called) but it happened in chrome and firefox for me... Just in case the new commit doesn't fix the problem, I'm running 63.0.3

jonorthwash commented 5 years ago

So shift-- seems to do the trick?

jonorthwash commented 5 years ago

Or just -.

jonorthwash commented 5 years ago

Currently if you enter text into an empty grid cell in a collapsed, that text disappears into the grid cell (probably rightly so). Then if you try to edit it (by pressing enter), it doesn't show the text in the entry box, and the entered text seems to get concatenated to the existing text. Also, a couple times I got it to display text in a collapsed row, but I'm having trouble reproducing it.

Also, if zoom of the graph is played with (especially ctrl-0), the ability to collapse and uncollapse columns is lost until table view is deactivated and reactivated.

What's the keyboard shortcut for entering table view and table navigation?

diogoscf commented 5 years ago

ctrl-alt-t for entering table view and table navigation. I’ll check the other issues later

diogoscf commented 5 years ago

So which should the behaviour be?

  1. If you try to enter text into a collapsed cell, nothing happens
  2. If you try to edit a collapsed cell, the existing text appears so you can change it based on that
jonorthwash commented 5 years ago

Probably something like 2, except with the column expanding:

  1. If you try to edit a collapsed cell, the column uncollapses and let's you edit normally.
jonorthwash commented 5 years ago

The shortcut ctrl-alt-t doesn't work for me; it's a window-manager-level shortcut.

diogoscf commented 5 years ago

Ok. It's now alt-n

jonorthwash commented 2 years ago

Closing this issue; remaining issues to #499.