Bug 328838 - Sorting apps in SLAB doesn't work
Summary: Sorting apps in SLAB doesn't work
Status: RESOLVED NORESPONSE
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: RC 1
Hardware: i586 openSUSE 10.3
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Federico Mena Quintero
QA Contact: E-mail List
URL:
Whiteboard: gnome-function-does-not-work, gnome-u...
Keywords:
Depends on:
Blocks: main-menu-behavior
  Show dependency treegraph
 
Reported: 2007-09-27 09:26 UTC by Dean Sawash
Modified: 2011-04-04 03:47 UTC (History)
4 users (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
A video demo of slab's screwiness (1.51 MB, application/ogg)
2007-09-27 09:26 UTC, Dean Sawash
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Sawash 2007-09-27 09:26:36 UTC
Created attachment 175083 [details]
A video demo of slab's screwiness

drag & drop in slab's application area causes confusion and displacement of the launchers' positions.

for a demo, check the attached video.
Comment 1 Nikolay Paskov 2007-09-27 09:30:39 UTC
I have no problems with SLAB reordering. Did you try on other machine?
Comment 2 Mark Gordon 2007-09-27 15:12:58 UTC
What I'm seeing is that the launchers have an internally maintained linear ordering (corresponding to the tab order used in keyboard navigation), and that when a launcher is dragged to a new position, all launchers between the old and new positions are shifted.  When a launcher is dragged horizontally, this amounts to a swap between two launchers, and it's unsurprising.  When a launcher is dragged vertically, then the results are a bit more surprising.  It should still be possible to reorder the slab arbitrarily, but it may take some figuring out.

I'd argue that it works but is confusing and that swapping of launchers between the source and destination locations would be less confusing than the current behavior.

If this is indeed what you're seeing, let's adjust the summary and the severity.
Comment 3 Federico Mena Quintero 2007-10-11 03:37:10 UTC
Yeah, I have the same problem.  Reordering an item pushes subsequent ones to the "right".  But items are ordered like

  1  2
  3  4
  5  6

So reordering is very confusing, since seemingly all the elements change when you reorder something.
Comment 4 Dean Sawash 2007-11-02 19:40:57 UTC
i've found a very basic workaround, just remove ~/.local/share/gnome-main-menu/applications.xbel from your home directory - slab will start behaving normally again, but you'll lose all your favoured applications!

Disclaimer: this doesn't fix the bug itself, and it could regenerate later.
Comment 6 Federico Mena Quintero 2008-04-03 17:20:28 UTC
I'd like to know what to do about this one.  Items are ordered like

  1  2
  3  4
  5  6

but your gestalt vision makes you think they are ordered vertically.  Maybe "pushing items down" instead of "pushing them to the right" would be better?

This may not be hard to fix.  See gnome-main-menu/main-menu/src/tile-table.c:reorder_tiles().  You can get the number of rows/columns from the parent class GtkTable.
Comment 7 Dean Sawash 2008-04-04 18:05:56 UTC
ok, since this bug has been brought up again, i guess i should tell you how to reproduce it, just in case:

create a .desktop launcher anywhere then add it to g-m-m favourites and then delete the launcher, watch slab going nuts! 

however, to fix you only have to edit ~/.local/share/gnome-main-menu/applications.xbel and delete the the missing apps from the list

i don't know what you can make of this, but one way to fix is to make slab check for existing shortcuts and automatically delete the ones that doesn't pass, or just let it launch apps by itself without the need for any darn shortcuts, i don't think this should be reproducible in 11.0 by all means
Comment 8 Federico Mena Quintero 2008-05-28 17:43:14 UTC
Still happens in openSUSE 11.0; I'll take care of this.
Comment 9 Magnus Boman 2008-12-26 21:20:09 UTC
Upstream bug exists for this as well: http://bugzilla.gnome.org/show_bug.cgi?id=379544
Comment 10 Larry Finger 2011-04-04 03:47:01 UTC
The version with which you had the bug is now obsolete. I'll close this as NORESPONSE. If you can still reproduce it in current 11.4, please reopen the bug and move it to the appropriate version. Thanks!