Public bug reported: GtkRecentMenu always returns the most recent item, rather than the selected item, when calling gtk_recent_chooser_get_current_uri().
I noticed this in some code I was working on and after spending some time banging my head against it I decided to try and replicate the issue in some other programs. To reproduce the problem in MyPaint I took the following actions 1) Open several files with File->Open, so that the File->Open Recent menu has more than 1 item in it 2) Select an item other than the first (0th) in the File->Open Recent menu What happens: The current item remains open. What I expect to happen: The selected item is opened. Changing my code to use gtk_recent_chooser_get_current_item(), rather than _get_current_uri(), results in the same issue. Ubuntu version: Description: Ubuntu 12.10 Release: 12.10 libgtk-3.0 version: libgtk-3-0-dbg: Installed: (none) Candidate: 3.6.0-0ubuntu3.2 Version table: 3.6.0-0ubuntu3.2 0 500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main amd64 Packages 3.6.0-0ubuntu3 0 500 http://us.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages libgtk-3-0: Installed: 3.6.0-0ubuntu3.2 Candidate: 3.6.0-0ubuntu3.2 Version table: *** 3.6.0-0ubuntu3.2 0 500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main amd64 Packages 100 /var/lib/dpkg/status 3.6.0-0ubuntu3 0 500 http://us.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages ** Affects: gtk+3.0 (Ubuntu) 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/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