[Bug 1088124] Re: GtkRecentMenu always returns the most recent item, rather than the selected item, when calling gtk_recent_chooser_get_current_uri()

2012-12-12 Thread Lars Uebernickel
*** This bug is a duplicate of bug 752674 ***
https://bugs.launchpad.net/bugs/752674

This is a duplicate of bug #752674, which has already been fixed in
trunk (r429). Apparently that was too late to make it into Q.

Joshua, I have verified the fix with both of your example programs.

Seb, this seems like a good candidate to backport? It's a rather
annoying issue...

** This bug has been marked a duplicate of bug 752674
   GtkRecentChooserMenu always selects first entry

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1088124

Title:
  GtkRecentMenu always returns the most recent item, rather than the
  selected item, when calling gtk_recent_chooser_get_current_uri()

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-appmenu/+bug/1088124/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1088124] Re: GtkRecentMenu always returns the most recent item, rather than the selected item, when calling gtk_recent_chooser_get_current_uri()

2012-12-10 Thread Sebastien Bacher
Thank you for taking the time to report this bug and helping to make
Ubuntu better. The issue you are reporting is an upstream one and it
would be nice if somebody having it could send the bug to the developers
of the software by following the instructions at
https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please
tell us the number of the upstream bug (or the link), so we can add a
bugwatch that will inform us about its status. Thanks in advance.

** Changed in: ubuntu
   Importance: Undecided = Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1088124

Title:
  GtkRecentMenu always returns the most recent item, rather than the
  selected item, when calling gtk_recent_chooser_get_current_uri()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1088124/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1088124] Re: GtkRecentMenu always returns the most recent item, rather than the selected item, when calling gtk_recent_chooser_get_current_uri()

2012-12-10 Thread Joshua Lock
HI Sebastien,

As mentioned in comment #2 this bug is not present on Fedora 18 (gtk+
3.6.2) nor can I reproduce on Fedora 17 (gtk+ 3.3.4), I can certainly
file the bug upstream but I'd like to at least reproduce the issue
elsewhere first.

I did a bit of extra digging and nothing jumps out in a quick diff of
upstream gtk+3.6.0 to upstream gtk+3.6.2.

Further there's not delta of gtkrecentchooser.c,
gtkrecentchooserwidget.c, gtkrecentchoosermenu.c and  gtkrecentmanager.c
between the Quantal bzr branch and upstream.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1088124

Title:
  GtkRecentMenu always returns the most recent item, rather than the
  selected item, when calling gtk_recent_chooser_get_current_uri()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1088124/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1088124] Re: GtkRecentMenu always returns the most recent item, rather than the selected item, when calling gtk_recent_chooser_get_current_uri()

2012-12-10 Thread Sebastien Bacher
oh ok, it doesn't happen if you unset UBUNTU_MENUPROXY ... seems like an
indicator-appmenu issue

** Package changed: gtk+3.0 (Ubuntu) = ubuntu

** Package changed: ubuntu = indicator-appmenu (Ubuntu)

** Also affects: indicator-appmenu
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1088124

Title:
  GtkRecentMenu always returns the most recent item, rather than the
  selected item, when calling gtk_recent_chooser_get_current_uri()

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-appmenu/+bug/1088124/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1088124] Re: GtkRecentMenu always returns the most recent item, rather than the selected item, when calling gtk_recent_chooser_get_current_uri()

2012-12-09 Thread Joshua Lock
I was pretty confident when filing this bug that the problem wasn't
restricted to the bindings, but to verify my initial assumption I ported
the simple test to C.

Results are the same.

** Attachment added: Simple C program to demonstrate the problem
   
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1088124/+attachment/3455807/+files/gtk3recent.c

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1088124

Title:
  GtkRecentMenu always returns the most recent item, rather than the
  selected item, when calling gtk_recent_chooser_get_current_uri()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1088124/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1088124] Re: GtkRecentMenu always returns the most recent item, rather than the selected item, when calling gtk_recent_chooser_get_current_uri()

2012-12-08 Thread Joshua Lock
Here's a simple Python program which demonstrates the problem I've
observed in both my own code and MyPaint.

** Attachment added: SImple Python program to demonstrate the problem
   
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1088124/+attachment/3455118/+files/gtk3recent.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1088124

Title:
  GtkRecentMenu always returns the most recent item, rather than the
  selected item, when calling gtk_recent_chooser_get_current_uri()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1088124/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1088124] Re: GtkRecentMenu always returns the most recent item, rather than the selected item, when calling gtk_recent_chooser_get_current_uri()

2012-12-08 Thread Joshua Lock
To see the issue with the demo program follow these steps:

1) run the program with python gtk3recent.py and select File-Open Recent, this 
will show the 5 most recent entries in the users' GtkRecent history.
2) select the first item in the list, the label in the window will show the uri 
of the first item
3) select any item in the list other than the first, the label in the window 
will *still*/*again* show the uri of the first item

Expected behaviour on selecting item other than the first:

The uri of the selected item will be shown

Actual behaviour on selecting item other than the first:

The uri of the first item is shown

I've also run the sample code on an updated Fedora 18 Beta, with gtk+
3.6.2, where the program runs as expected.

P.S: Please ignore the python3 shebang in the test program, Python3 is
not required.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1088124

Title:
  GtkRecentMenu always returns the most recent item, rather than the
  selected item, when calling gtk_recent_chooser_get_current_uri()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1088124/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs