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

Clicking on the sort order indicator resets ordering by first column #4647

Closed
mc-butler opened this issue Feb 1, 2025 · 9 comments
Closed
Assignees
Labels
area: core Issues not related to a specific subsystem prio: low Minor problem or easily worked around ver: 4.8.32 Reproducible in version 4.8.32
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/4647
Reporter lumi (luminary@….net)

In the core header, the sort order jumps back from modify time to name - happens when the switch is activated.

Note

Original attachments:

@mc-butler
Copy link
Author

Changed by lumi (luminary@….net) on Feb 1, 2025 at 11:33 UTC

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Feb 1, 2025 at 17:18 UTC (comment 1)

  • Summary changed from Core , window ; header jumps back to Clicking on the sort order indicator resets ordering by first column
  • Component changed from mc-core to mc-tty

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Feb 1, 2025 at 17:39 UTC (comment 2)

  • Status changed from new to accepted
  • Owner set to zaytsev
  • Description edited
  • Branch state changed from no branch to on review
  • Milestone set to 4.8.34

Branch: 4647_indicator_click_sort_reverse
Changeset: [08125249226671472542acee07cb1f8137a5ea7e]

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 2, 2025 at 11:30 UTC (comment 3)

Mouse clicking area should depend on real width of sort indicator.
I've pushed a fixup.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Feb 2, 2025 at 12:23 UTC (comment 4)

  • Votes set to zaytsev

Oh, wow, I didn't realize that the symbol is actually of variable width, thank you!

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 2, 2025 at 12:47 UTC (comment 4.5)

Replying to zaytsev:

Oh, wow, I didn't realize that the symbol is actually of variable width, thank you!

I believe, in 99,99% sort indicator occupies two screen cells, but we should support an any width.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 2, 2025 at 15:20 UTC (comment 6)

  • Votes changed from zaytsev to zaytsev andrew_b
  • Branch state changed from on review to approved
  • Component changed from mc-tty to mc-core

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 2, 2025 at 15:22 UTC (comment 7)

  • Resolution set to fixed
  • Branch state changed from approved to merged
  • Status changed from accepted to testing
  • Votes changed from zaytsev andrew_b to committed-master

Merged to master: [0a97ffd].

git log --oneline 7b89c70ba..0a97ffd97

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Feb 2, 2025 at 15:23 UTC (comment 8)

  • Status changed from testing to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues not related to a specific subsystem prio: low Minor problem or easily worked around ver: 4.8.32 Reproducible in version 4.8.32
Development

No branches or pull requests

2 participants