Skip to content

[BUG] [v2] Designer freeze when unselecting SVG nested group while snapping is enabled #76

@Faust90

Description

@Faust90

Does an issue for this already exist?

  • I have searched the existing issues
  • I have ensured my environment (operating system, app launcher, etc) is up to date

Operating System and Version

Linux Mint 22.2

Launcher

Lutris (Recommended)

Launcher Installation

Flatpak (Recommended)

Other Install

No response

Wine Version

ElementalWarrior (Recommended)

Affinity Version

2.6.5

Desktop Environment

Cinnamon

Description

As described in the issue title, whenever I work with SVG curves in nested groups the app freezes and becomes unresponsive. I can only kill the process through Lutris or sudo kill .

Also, while the app freezees what I think is my graphic card fan will start speeding up really fast until Designer is forcibly closed.

The bug is happening both with and without hardware acceleration turned on (VKD3D on and Desinger settings checkbox checked).

The problem seems to happen in a similar way also in Publisher.

My specs are:

System:
  Kernel: 6.14.0-33-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
  Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin v: 6.4.1 vt: 7 dm: LightDM v: 1.30.0
    Distro: Linux Mint 22.2 Zara base: Ubuntu 24.04 noble
CPU:
  Info: 8-core model: AMD Ryzen 7 8845HS w/ Radeon 780M Graphics bits: 64 type: MT MCP smt: enabled
    arch: Zen 4 rev: 2 cache: L1: 512 KiB L2: 8 MiB L3: 16 MiB
  Speed (MHz): avg: 2435 high: 4547 min/max: 400/5137 boost: enabled cores: 1: 3348 2: 4547
    3: 1100 4: 3618 5: 3518 6: 3757 7: 1100 8: 1100 9: 1100 10: 3858 11: 3758 12: 1100 13: 1100
    14: 3764 15: 1100 16: 1100 bogomips: 121372
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA AD106M [GeForce RTX 4070 Max-Q / Mobile] vendor: Tongfang Hongkong
    driver: nvidia v: 580.95.05 arch: Lovelace pcie: speed: 16 GT/s lanes: 8 ports: active: none
    off: HDMI-A-1 empty: DP-6,eDP-2 bus-ID: 01:00.0 chip-ID: 10de:2820 class-ID: 0300
  Device-2: AMD Phoenix3 vendor: Tongfang Hongkong driver: amdgpu v: kernel arch: RDNA-3 pcie:
    speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, Writeback-1
    bus-ID: 07:00.0 chip-ID: 1002:1900 class-ID: 0300 temp: 45.0 C
  Device-3: Kingcome FHD WebCam driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
    bus-ID: 1-3:2 chip-ID: 2b7e:c858 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu,nvidia
    unloaded: fbdev,modesetting,nouveau,vesa dri: radeonsi
    gpu: amdgpu,nv_platform,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 7680x2880 s-dpi: 144 s-size: 1355x508mm (53.35x20.00")
    s-diag: 1447mm (56.97")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled pos: primary,right model: H27D9
    res: 5120x2880 hz: 60 dpi: 245 size: 531x298mm (20.91x11.73") diag: 685mm (27") modes:
    max: 2560x1440 min: 640x480
  Monitor-2: eDP-1 mapped: eDP-1-0 pos: left model: BOE Display 0x0c85 res: 2560x1600 hz: 120
    dpi: 198 size: 329x206mm (12.95x8.11") diag: 388mm (15.3") modes: max: 2560x1600 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia nouveau drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 1 drv: nouveau device: 2 drv: radeonsi device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia x11: drv: nvidia inactive: wayland
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.95.05 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 4070 Laptop GPU/PCIe/SSE2

Steps to reproduce

  1. Open .afdesign with SVG curves inside nested group (see screenshot for example).
  2. Select the object within the nested groups
  3. Enable snapping (magnet)
  4. Open a new file that containes another nested group

Expected behaviour

Designer and Publisher should not freeze after such a group is unselected while snapping is enabled

Screenshots

Image

Logs

N/A

Config

No response

Self-service

  • I'd be willing to fix this issue myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EvaluateUnder testing and reviewbugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions