Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358301 - x11-libs/gtk+: ebuild for Ubuntu's overlay-scrollbar
Summary: x11-libs/gtk+: ebuild for Ubuntu's overlay-scrollbar
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 21:16 UTC by Ragas
Modified: 2011-03-17 00:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
overlay-scrollbar ebuild (overlay-scrollbar-0.1.2.ebuild,840 bytes, text/plain)
2011-03-10 21:17 UTC, Ragas
Details
Needed gtk+ patch (gtk+-2.24.1-use-overlay-scrollbar-from-module.patch,5.07 KB, text/plain)
2011-03-10 21:19 UTC, Ragas
Details
gtk+ ebuild which applies patch (gtk+-2.24.1-r1.ebuild,7.32 KB, text/plain)
2011-03-10 21:20 UTC, Ragas
Details
overlay-scrollbar-0.1.2-r1 ebuild (overlay-scrollbar-0.1.2-r1.ebuild,868 bytes, text/plain)
2011-03-17 00:09 UTC, Ragas
Details
overlay-scrollbar-9999 ebuild (overlay-scrollbar-9999.ebuild,950 bytes, text/plain)
2011-03-17 00:11 UTC, Ragas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ragas 2011-03-10 21:16:12 UTC
In Ubuntu 11.04 there is going to be a new kind of scrollbar called overlay-scrollbar.
This is the Project Page: https://launchpad.net/ayatana-scrollbar

I have written an ebuild for overlay-scrollbar which works fine for me so far.

Exept there are some Applications which somehow use the old scrollbar, but that's not a huge Problem most likely just a settings weirdness, I'm going to investigate it. 

The only real Problem is, that this work also needs a patch in gtk+. 

For those wondering what it is: http://design.canonical.com/2011/03/introducing-overlay-scrollbars-in-unity/

Reproducible: Always
Comment 1 Ragas 2011-03-10 21:17:37 UTC
Created attachment 265497 [details]
overlay-scrollbar ebuild
Comment 2 Ragas 2011-03-10 21:19:48 UTC
Created attachment 265499 [details]
Needed gtk+ patch

Patch is taken from the projects source.
Comment 3 Ragas 2011-03-10 21:20:37 UTC
Created attachment 265501 [details]
gtk+ ebuild which applies patch
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-03-14 12:50:40 UTC
No modifications to gtk+ code will be accepted by us.

Other gtk "extensions" manage to do incredible changes by loading gtk modules, I believe this should be done this way here too. It looks like it's the approach upstream intended, but they somehow failed to achieve it.

Look at gnome-globalmenu project for example, or gtkparasite.
Comment 5 Ragas 2011-03-14 14:57:57 UTC
Ok.
I'll keep monitoring this either way.
Since this project is quite early in development maybe they will move away from patching gtk+.
Comment 6 Ragas 2011-03-17 00:09:46 UTC
Created attachment 266213 [details]
overlay-scrollbar-0.1.2-r1 ebuild

Added debug useflag
Comment 7 Ragas 2011-03-17 00:11:22 UTC
Created attachment 266215 [details]
overlay-scrollbar-9999 ebuild

Live ebuild for overlay-scrollbar