Go to file
Marina Zhurakhinskaya 5fbc0d4a56 Bug 577338 – Show item details on click in the expanded view
Change the overlay behavior to display more details about an item on single
click and launch it on double click.

When the item is clicked on in the expanded view, the details are shown in the
area on the right that is allocated for showing details. The details pop-up is
not shown for the item that was clicked on, but it is shown for other items on
hover and for the item that was clicked if the mouse pointer is moved back to
it.

Both hovering and single clicking results in the details pop-up being shown in
the regular view. (Single clicking actually doesn't do anything in the regular
view, but the details pop-up is shown due to hovering within the time it takes
to perform a single click.)

The overlay now uses 3 columns on the wide screen for displaying items in the
expanded view. This allows keeping the size of the details area the same for
expanded and regular views.

Add shell_get_button_event_click_count() to shell-global.[hc] to retrieve
the click count for button press and release events.

Add selectedItemDetails public variable actor to the generic display to
contain the details of the selected item and be shown in the overlay when
it is in the expanded view mode.

Fix the bug when the sideshow section would loose selection in the expanded
view if it did not have any items, and would not regain it if it was repopulated
with some items (e.g. when the search string changes).

The sideshow no longer takes overlay parent and width as constructor arguments.
It is added to the overlay inside the overlay code and manages its own width
instead (which is ok, since it is pretty much a private class within overlay).

Clean up the way selection is moved when an item is launched in order to have
selection on click and activation on double click be implemented in a similar
fashion. An unneeded _activatedItem variable in generic display was removed,
and the selected item is activated instead when necessary. The flow of processing
signals changed so that generic display no longer waits for the selection from
a different sideshow section to be removed before selecting an item that was
clicked on. This removed the need for doActivate() function.
2009-03-31 14:12:33 -04:00
.settings Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
data Make "make distcheck" work, and verify that we're disting all the javascript 2009-03-12 10:04:25 -04:00
js Bug 577338 – Show item details on click in the expanded view 2009-03-31 14:12:33 -04:00
src Bug 577338 – Show item details on click in the expanded view 2009-03-31 14:12:33 -04:00
tools/build Add a built-in screencast recording facility 2009-03-20 16:53:50 -04:00
.gitignore Add a built-in screencast recording facility 2009-03-20 16:53:50 -04:00
.project Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
AUTHORS Initial commit 2008-10-31 04:22:44 +00:00
autogen.sh Initial commit 2008-10-31 04:22:44 +00:00
configure.ac Add a built-in screencast recording facility 2009-03-20 16:53:50 -04:00
COPYING Initial commit 2008-10-31 04:22:44 +00:00
MAINTAINERS Initial commit 2008-10-31 04:22:44 +00:00
Makefile.am Make "make distcheck" work, and verify that we're disting all the javascript 2009-03-12 10:04:25 -04:00
README Initial commit 2008-10-31 04:22:44 +00:00