Fix #106040: pasting long text fails in Gnome-Shell/Wayland #106091

Closed
Campbell Barton wants to merge 1 commits from ideasman42/blender:pr-106040-fix into blender-v3.5-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

Workaround gnome-shell including uninitialized memory when pasting
from the clipboard. Where read would not write data into the range
return by the length.

Reading from the pipe into a power-of-two buffer
works around the problem.

It's not clear why this only impacts gnome-shell - as there is no
significant down-side to changing the buffer size, apply a workaround.

Workaround gnome-shell including uninitialized memory when pasting from the clipboard. Where `read` would not write data into the range return by the length. Reading from the pipe into a power-of-two buffer works around the problem. It's not clear why this only impacts gnome-shell - as there is no significant down-side to changing the buffer size, apply a workaround.
Campbell Barton force-pushed pr-106040-fix from 1cb2d0c9b3 to a3cfd84dd1 2023-03-24 10:39:25 +01:00 Compare
Campbell Barton requested review from Brecht Van Lommel 2023-03-24 10:47:39 +01:00
Campbell Barton requested review from Philipp Oeser 2023-03-24 10:49:07 +01:00
Campbell Barton force-pushed pr-106040-fix from a3cfd84dd1 to 2999bb60eb 2023-03-24 10:50:37 +01:00 Compare
Campbell Barton force-pushed pr-106040-fix from 2999bb60eb to e44c818dbd 2023-03-24 10:57:35 +01:00 Compare
Member

Can only confirm the fix is working (cant really comment on the implementation though)

Can only confirm the fix is working (cant really comment on the implementation though)
Philipp Oeser added this to the User Interface project 2023-03-24 11:09:05 +01:00
Philipp Oeser added the
Interest
Text Editor
label 2023-03-24 11:09:13 +01:00
Philipp Oeser approved these changes 2023-03-24 11:12:02 +01:00
Philipp Oeser left a comment
Member

As noted, can only confirm the fix is working (and not judge the implementation)

As noted, can only confirm the fix is working (and not judge the implementation)
Brecht Van Lommel approved these changes 2023-03-24 11:43:18 +01:00
Author
Owner

Committed cb4f7cac24, closing.

Committed cb4f7cac249cd29253349c78d023000e421ecb3f, closing.
Campbell Barton closed this pull request 2023-03-24 13:04:49 +01:00

Pull request closed

Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#106091
No description provided.