Bug 540903 - [GTK4] Adapt to GtkClipboard changes
Summary: [GTK4] Adapt to GtkClipboard changes
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.10   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: triaged
Depends on:
Blocks: 540385
  Show dependency tree
 
Reported: 2018-11-07 15:26 EST by Eric Williams CLA
Modified: 2021-04-08 15:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Williams CLA 2018-11-07 15:26:34 EST
GtkClipboard has been moved into GDK.
Comment 1 Eclipse Genie CLA 2019-04-16 16:33:59 EDT
New Gerrit change created: https://git.eclipse.org/r/140715
Comment 3 Xi Yan CLA 2019-04-18 12:34:34 EDT
(In reply to Eclipse Genie from comment #2)
> Gerrit change https://git.eclipse.org/r/140715 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=fd5818d4a10a19cf89c2431ac70f15047ca3453e

This patch replaces gtk_clipboard_clear with gdk_clipboard_set_content(null) for clearing clipboard. 

There is still some more clipboard deprecation needed which needs more testing that depends on bug 543465:

1) gtk_clipboard_set_can_store -> gdk_clipboard_store_async

2) gtk_clipboard_store -> gdk_clipboard_store_finish

3) gtk_clipboard_set_with_owner ->  no need to handle ownership with GdkClipboard

4) gtk_clipboard_wait_for_contents -> more investigation is needed for this
Comment 4 Eclipse Genie CLA 2021-04-08 15:54:08 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.