gui icon indicating copy to clipboard operation
gui copied to clipboard

Fix transaction view/table

Open luke-jr opened this issue 3 years ago • 2 comments

#204 reverted a necessary bugfix, and #205 introduced regressions since setModel resets column widths. Note that you need to delete your saved GUI config to see the fix, otherwise the prior widths are restored.

Before regressions:

Screenshot_20220905_232835 branch-21

After regressions / current master:

Screenshot_20220905_233054 branch-22

With this PR:

Screenshot_20220906_134210

luke-jr avatar Sep 06 '22 17:09 luke-jr

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process. A summary of reviews will appear here.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #684 (Improve 'Requested Payments History' Multiselect by john-moffett)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

DrahtBot avatar Sep 06 '22 21:09 DrahtBot

if we revert the PR's aren't we still left with a buggy transaction table?

I'm not aware of any documented bugs. With the PRs reverted, it works perfect for me.

Additionally, it's possible that the class mentioned can lead to a segfault when loading in a very large wallet:

These bugs seem outside the scope of this PR, but if you can explain, I can try to take a shot at fixing them?

luke-jr avatar Sep 19 '22 13:09 luke-jr

From PR description it is not clear what actual bug this PR is supposed to fix.

#204 reverted a necessary bugfix,

Wrong. See #204 PR description.

and https://github.com/bitcoin-core/gui/pull/205 introduced regressions since setModel resets column widths.

Wrong. Column widths belong to a "View" layer. A "Model" layer should do nothing with a visual representation. It is up to user to set the "View" layer, including column widths.

hebasto avatar Dec 06 '22 18:12 hebasto

Not wrong. See screenshots.

luke-jr avatar Dec 06 '22 23:12 luke-jr

Closing due to a long period of inactivity here. Feel free to reopen.

hebasto avatar May 31 '23 16:05 hebasto

Reopening was requested.

achow101 avatar Jun 29 '23 22:06 achow101

Re-confirmed bug still exists, and rebased this fix.

luke-jr avatar Jun 29 '23 23:06 luke-jr

Tested 8e428cc1188568aaeeaeb8f1f4498ae5b738a5e2 on Ubuntu 23.04.

Application window resizing leads to:

image

when the content of the last column "Amount" goes out of the scope.

hebasto avatar Jul 03 '23 14:07 hebasto

From CI:

./qt/receivecoinsdialog.h:54:48: error: use default member initializer for 'columnResizingFixer' [modernize-use-default-member-init,-warnings-as-errors]
    GUIUtil::TableViewLastColumnResizingFixer *columnResizingFixer;
                                               ^
                                                                  {nullptr}

maflcko avatar Sep 06 '23 08:09 maflcko

🤔 There hasn't been much activity lately and the CI seems to be failing.

If no one reviewed the current pull request by commit hash, a rebase can be considered. While the CI failure may be a false positive, the CI hasn't been running for some time, so there may be a real issue hiding as well. A rebase triggers the latest CI and makes sure that no silent merge conflicts have snuck in.

DrahtBot avatar Feb 05 '24 14:02 DrahtBot

Closing due to lack of support from the PR author (unaddressed comments, the failed CI).

hebasto avatar Feb 11 '24 22:02 hebasto