Bug 498299 - Move the "locked" layer or not into the collapsed group layer
Summary: Move the "locked" layer or not into the collapsed group layer
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-01-06 01:27 UTC by luckyrobster
Modified: 2025-01-06 08:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
This is for the "locked" layer when working on the project. (12.75 KB, image/png)
2025-01-06 01:27 UTC, luckyrobster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description luckyrobster 2025-01-06 01:27:38 UTC
Created attachment 177136 [details]
This is for the "locked" layer when working on the project.

SUMMARY
Very simple and two things:

1) When trying to drag the "locked" layer into the collapsed group layer, it was duplicating and placed either above or underneath the group layer instead. (Not sure if the "duplicate" was intended instead of moving.) 

2) For "unlocked" layer, it refused to move into the group layer. 

STEPS TO REPRODUCE
[For the "locked" layer]
1. Make a new layer and a group layer
2. Lock the layer
3. Then drag the "locked" layer into the collapsed group layer to expect the odd behaviour

[For the "unlocked" layer]
1. Make a new layer and a group layer
2. Then drag the layer into the collapsed group layer and it refuses to do so

SOFTWARE/OS VERSIONS
Krita

 Version: 5.2.9-prealpha (git 758ea9a)
 Hidpi: true

Qt

  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 6.5.0-44-generic
  Pretty Productname: Ubuntu 23.10
  Product Type: ubuntu
  Product Version: 23.10
  Desktop: KDE
  Appimage build: Yes

Locale

  Languages: en_GB, en_Latn_GB, en_GB, en_Latn_GB, en_GB, en_Latn_GB, en, en_US, en_Latn_US
  C locale: en_GB.UTF-8
  QLocale current: en-GB
  QLocale system: en-GB
  QTextCodec for locale: UTF-8

OpenGL Info
 

QPA OpenGL Detection Info 
  supportsDesktopGL: false 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: false 
  Detected renderers: 

Hardware Information

  GPU Acceleration: auto
  Memory: 15827 Mb
  Number of Cores: 12
  Swap Location: /tmp
  Built for: sse2
  Base instruction set: fma3+avx2
  Supported instruction sets: sse2 sse3 ssse3 sse4_1 sse4_2 fma3_sse avx2 fma3_avx2

Current Settings

  Current Swap Location: /tmp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 200
  Use OpenGL: true
  Use OpenGL Texture Buffer: false
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 420
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Resource Location: /home/user/.local/share/krita
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


OpenGL Info
 

QPA OpenGL Detection Info 
  supportsDesktopGL: false 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: false 
  Detected renderers: 
OpenGL Info
 

QPA OpenGL Detection Info 
  supportsDesktopGL: false 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: false 
  Detected renderers: 
OpenGL Info
 

QPA OpenGL Detection Info 
  supportsDesktopGL: false 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: false 
  Detected renderers: 
Display Information
Number of screens: 2
	Screen: 0
		Name: eDP-1-1
		Depth: 24
		Scale: 1
		Physical DPI141.951
		Logical DPI120
		Physical Size: 344, 193
		Position: 0, 0
		Resolution in pixels: 1920x1080
		Manufacturer: Chimei Innolux Corporation
		Model: CMN15d6
		Refresh Rate: 60.0079
		Serial Number: 
	Screen: 1
		Name: DP-1
		Depth: 24
		Scale: 1
		Physical DPI102.299
		Logical DPI120
		Physical Size: 477, 268
		Position: 1920, 0
		Resolution in pixels: 1920x1080
		Manufacturer: Samsung Electric Company
		Model: S22C300
		Refresh Rate: 60
		Serial Number: 808597553

OpenGL Info
 

QPA OpenGL Detection Info 
  supportsDesktopGL: false 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: false 
  Detected renderers: 
OpenGL Info
 

QPA OpenGL Detection Info 
  supportsDesktopGL: false 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: false 
  Detected renderers: 
OpenGL Info
 

QPA OpenGL Detection Info 
  supportsDesktopGL: false 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: false 
  Detected renderers: 
Current Settings

  Current Swap Location: /tmp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 200
  Use OpenGL: false
  Use OpenGL Texture Buffer: false
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 420
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Resource Location: /home/user/.local/share/krita
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Current Settings

  Current Swap Location: /tmp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 200
  Use OpenGL: false
  Use OpenGL Texture Buffer: false
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 420
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Resource Location: /home/user/.local/share/krita
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


Current Settings

  Current Swap Location: /tmp
  Current Swap Location writable: true
  Undo Enabled: true
  Undo Stack Limit: 200
  Use OpenGL: false
  Use OpenGL Texture Buffer: false
  Disable Vector Optimizations: false
  Disable AVX Optimizations: false
  Canvas State: OPENGL_SUCCESS
  Autosave Interval: 420
  Use Backup Files: true
  Number of Backups Kept: 1
  Backup File Suffix: ~
  Backup Location: Same Folder as the File
  Backup Location writable: false
  Resource Location: /home/user/.local/share/krita
  Use Win8 Pointer Input: false
  Use RightMiddleTabletButton Workaround: false
  Levels of Detail Enabled: false
  Use Zip64: false


OpenGL Info
 

QPA OpenGL Detection Info 
  supportsDesktopGL: false 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: false 
  Detected renderers: 
OpenGL Info
 

QPA OpenGL Detection Info 
  supportsDesktopGL: false 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: false 
  Detected renderers: 
OpenGL Info
 

QPA OpenGL Detection Info 
  supportsDesktopGL: false 
  supportsOpenGLES: false 
  isQtPreferOpenGLES: false 
  Detected renderers: 

---------------------
Comment 1 Halla Rempt 2025-01-06 08:56:48 UTC
Thank you for the report. I can confirm the issue.
Comment 2 Halla Rempt 2025-01-06 08:59:15 UTC
* The locked layer will be duplicated into the group was already true in 4.4.8, so we might actually have that as intended behaviour
* An unlocked layer would move properly into the group in 4.4.8
* Already in 4.4.8 a forbidden drag/drop icon would show when dragging an unlocked layer in the group