Layout Selection Linewidth Problem

Anyone have this issue where the selection linewidth is huge? See below

The selection should look like this instead

In KLayout, under File -> Setup -> Applications -> Selection we can change the linewidth of the selection, but it does not change for me. Although it does for my teammates who don't have this problem. I'm able to change the fill, color and everything else under Selection, just not the linewidth. This make layout really difficult since I can't line up anything.

Comments

  • Hi @JieZ,

    I did not even know KLayout can make a line this wide ... I have never seen that issue myself.

    I'd suggest that maybe you clear your configuration and retry. I assume your configuration is spoiled for some reason.

    The configuration is stored in c:\users\<your name>\KLayout\klayoutrc on Windows and ~/.klayout/klayoutrc on Linux.

    Please try to rename this file or delete it and restart. If this does not help you can try deleting or renaming the whole folder ('KLayout' or '.klayout').

    Matthias

  • edited April 2024

    Hi @Matthias

    Thank you so much for your quick response. I just deleted klayoutrc in linux. Linewidth issue is still there. What do you mean by renaming the whole .klayout folder? I've gone into klayoutrc and the configs seems fine. It's just weird that my adjustments in the setup does not do anything to the line width.

    Best,
    Jie

  • I mean, you can try moving

    mv ~/.klayout ~/.klayout-saved
    

    This folder is where KLayout stores all scripts and downloaded packages. Maybe one script auto-executes and spoils your settings. That is possible and removing the folder makes sure there is no such script.

    Alternatively you can use:

    KLAYOUT_HOME=~/.klayout-new klayout ...
    

    But the line width is drawn by KLayout pixel by pixel. That cannot be a graphics driver issue or something like that.

    BTW: what is the version you are using?

    Matthias

Sign In or Register to comment.