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

Marker Database Browser doesn't keep Cell/Category tab size persistent #1571

Open
stefanottili opened this issue Dec 12, 2023 · 6 comments
Open
Labels
Milestone

Comments

@stefanottili
Copy link

stefanottili commented Dec 12, 2023

This is an enhancement request.

image

It would be helpful if

a) the Cell/Category would be resized to display the full Cell/Category text.
There is ample of space available, now used for Count and/or
b) the Cell/Category tab size would be persistent.
Currently it has to be resized every time klayout gets started.

@stefanottili
Copy link
Author

stefanottili commented Feb 29, 2024

If this get's addressed, it would be very helpful if the "By Category" would be either always expanded or that the expand state of “by category” and “by cell” would be persistent.
This will save yet another mouse click that is currently needed every time errors are viewed.

@klayoutmatthias klayoutmatthias added this to the 0.29 milestone Mar 23, 2024
@klayoutmatthias
Copy link
Collaborator

klayoutmatthias commented Mar 23, 2024

I just tried to reproduce the problem, but at least on Ubuntu-22 with Qt 5.15 the browser window's dimensions and splitter section sizes are persisted (that is part b).

I am using the master branch currently.

This is what I do:

  • I load some layout
  • A create a marker database with "Shapes to markers"
  • I adjust the dimensions of the marker browser window's elements
  • I exit KLayout

When I reopen and do "Shapes to markers" again, the marker browser window opens with the previous geometry.

I will check on Windows and 0.28.17, if the problem exists there.

@klayoutmatthias
Copy link
Collaborator

Looks like the problem is Windows specific. On Windows, the column widths are not persisted :(

@stefanottili
Copy link
Author

stefanottili commented Mar 24, 2024 via email

@klayoutmatthias
Copy link
Collaborator

I need a little more time to debug the problem. It is likely that this is a Qt issue or I am using "restoreState" incorrectly.

I will schedule that for 0.29.1.

Matthias

@klayoutmatthias klayoutmatthias modified the milestones: 0.29, 0.29.1 Mar 29, 2024
@klayoutmatthias
Copy link
Collaborator

The closest way I came to a solution is by explicitly setting the section resize mode to "interactive". I assume that on some OS (like Windows), the resize mode defaults to "automatic", hence this problem.

@klayoutmatthias klayoutmatthias modified the milestones: 0.29.1, 0.29.2 May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants