After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 648931 - Gdk clipboard doesn't work correctly
Gdk clipboard doesn't work correctly
Status: RESOLVED INCOMPLETE
Product: gtk+
Classification: Platform
Component: Backend: X11
2.24.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-04-29 11:14 UTC by dolbnya
Modified: 2011-09-02 05:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
win32: fix gdk clipboard (1.76 KB, patch)
2011-06-09 15:11 UTC, Marc-Andre Lureau
committed Details | Review

Description dolbnya 2011-04-29 11:14:30 UTC
All gtk-applications has their own clipboards, so user cannot copy text in one application and paste in another one. Moreover, gtk-demo shows in console:

(gtk-demo.exe:3648): Gdk-CRITICAL **: gdk_property_change: assertion `window != NULL' failed

when I try to copy text in TextView
Comment 1 Marc-Andre Lureau 2011-06-09 11:56:54 UTC
Confirmed with today git 2.24.4-14-g254b9a4, under Windows XP SP3.

  • #0 g_logv
    at gmessages.c line 559
  • #1 g_log
    at gmessages.c line 573
  • #2 g_return_if_fail_warning
    at gmessages.c line 582
  • #3 gdk_property_change
    at gdkproperty-win32.c line 162
  • #4 _gtk_selection_request
    at gtkselection.c line 2415
  • #5 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 86
  • #6 g_closure_invoke
    at gclosure.c line 771
  • #7 signal_emit_unlocked_R
    at gsignal.c line 3294
  • #8 g_signal_emit_valist
    at gsignal.c line 2997
  • #9 g_signal_emit
    at gsignal.c line 3044
  • #10 gtk_widget_event_internal
    at gtkwidget.c line 4984
  • #11 gtk_widget_event
    at gtkwidget.c line 4781
  • #12 gtk_main_do_event
    at gtkmain.c line 1638
  • #13 gdk_event_dispatch
    at gdkevents-win32.c line 3375
  • #14 g_main_dispatch
    at gmain.c line 2477
  • #15 g_main_context_dispatch
    at gmain.c line 3050
  • #16 g_main_context_iterate
    at gmain.c line 3128
  • #17 g_main_loop_run
    at gmain.c line 3336
  • #18 gtk_main
    at gtkmain.c line 1256
  • #19 main
    at main.c line 1010

Comment 2 Marc-Andre Lureau 2011-06-09 12:04:29 UTC
Reverting f9dd531bc9ccec1a407fe7b78c74f6fac242a05e seems to fix that bug
Comment 3 Matthias Clasen 2011-06-09 13:19:34 UTC
What needs to happen is that we need to get the #ifdef GTK_WINDOWING_WIN32 counterparts for those things that moved under #ifdef GTK_WINDOWING_X11
Comment 4 Marc-Andre Lureau 2011-06-09 15:11:44 UTC
Created attachment 189555 [details] [review]
win32: fix gdk clipboard
Comment 5 Matthias Clasen 2011-06-10 03:01:02 UTC
Review of attachment 189555 [details] [review]:

Looks good to me. Thanks!
Comment 6 Marc-Andre Lureau 2011-06-10 11:47:52 UTC
Attachment 189555 [details] pushed as da746d5 - win32: fix gdk clipboard
Comment 7 matt 2011-07-27 16:36:23 UTC
When will this reach it's way into an All-In-One Windows install package?
Comment 8 matt 2011-07-27 21:52:12 UTC
Forgive me, I was referring to the PyGTK All-In-One installer for Windows.
Comment 9 dolbnya 2011-08-27 05:01:51 UTC
So, is there any win32 binaries with this patch? Where can I get compiled library? Thank you