Bug 14678 - Parameters wrong for TreeView.GetTooltipContext
Summary: Parameters wrong for TreeView.GetTooltipContext
Status: NEW
Alias: None
Product: Gtk#
Classification: Mono
Component: gtk-sharp ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-09-12 05:47 UTC by eb1
Modified: 2013-11-03 08:45 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 14678 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description eb1 2013-09-12 05:47:52 UTC
The x and y parameters of gtk_tree_view_get_tooltip_context() are [inout] parameters (https://developer.gnome.org/gtk2/2.24/GtkTreeView.html#gtk-tree-view-get-tooltip-context), but they are mapped to out parameters in TreeView.GetTooltipContext(). This makes that method pretty much useless.
Comment 1 Mikayla Hutchinson [MSFT] 2013-09-12 13:15:48 UTC
FYI you can find a fixed copy here: https://github.com/mono/monodevelop/blob/master/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/GtkWorkarounds.cs#L1065
Comment 2 Bertrand Lorentz 2013-11-03 08:45:51 UTC
This has been fixed in gtk-sharp git master, which tracks GTK+ 3.x:
https://github.com/mono/gtk-sharp/commit/fc9746013d7