Page MenuHome GnuPG

Kleopatra: New tabs in certficate list should use same column layout as current tab
Testing, NormalPublic

Description

How to reproduce:

  • In the certificate list click the "Open a new tab" button.
  • Alternatively, import some certificates to get a new tab with the imported certificates.

Actual result:

  • After "Open a new tab" all columns seem to have the default size (100 pixels). (This seems to be caused by an old column layout stored in the configuration. I think the column layout of closed tabs should be removed from the configuration.)
  • After importing the columns seem to have been resized to the contents.

Expected result:

  • A new tab is shown with the same column layout as the previously shown tab.

Event Timeline

ikloecker created this task.
TobiasFella changed the task status from Open to Testing.Mar 21 2024, 3:32 PM
TobiasFella claimed this task.
TobiasFella moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
ebo changed the task status from Testing to Open.Mar 13 2025, 4:44 PM
ebo edited projects, added gpd5x; removed Restricted Project.
ebo added a subscriber: ebo.

5.0Beta-145:

This does not work as expected.
Import tabs still always have the default layout, regarding the width. The columns shown are kept from the previous tab, though.

If you take a regular tab, make some columns smaller, the resulting second tab when you click the "new tab" button, will have the same layout. But when you then import something, not only the import tab has the default width for the columns, now the other "child" tab(s) have the default width too. Only the original tab, which I resized manually, will keep its column widths.

ikloecker changed the task status from Open to Testing.Tue, Jan 13, 10:04 AM

In the meantime we don't show the imported certificates anymore in the main window as tabs but in a separate window, i.e. import tabs are no longer an issue. Please retest.

In gpg4win-5.0.0-beta479 @ win11

  • I can confirm, that a new tab will inherit the layout from the currently active tab
  • On import
    • The layout of the main tab is kept
    • The import cert table has it's own layout though (default columns/widths) - should this be different? see next comment

Correction: On import, the width of the last created tab (not the current one) will be used, but additional columns won't be added.

Another correction: I'm quite sure, that changing the width worked for a while (until i created that new tab), but I can't reproduce this anymore (even after deleting kleopatrastaterc). Now the import list again seems to have it's own memory (changing width in the import list will be kept on the next import)

Is this is good enough or should the import cert list also inherit the layout (with or without additional columns) from the currently active tab?