After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 74997 - It should be possible to lock down an applet
It should be possible to lock down an applet
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
1.5.x
Other Linux
: Normal enhancement
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 102803 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-03-16 21:46 UTC by Dave Bordoley [Not Reading Bug Mail]
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Dave Bordoley [Not Reading Bug Mail] 2002-03-16 21:46:09 UTC
Applets should not be movable with middle click button, since this makes it
too easy for a user to accidentally move an applet. The user should have to
use the right click menu -> move option to move applets.
Comment 1 Luis Villa 2002-03-18 21:02:57 UTC
<shrug> again, I disagree, but am not really qualified to make any
decisions on this.
Comment 2 Seth Nickell 2002-03-18 23:16:59 UTC
I don't middle drag does any harm. There are certain default applets I
wouldn't want easily moved through middle dragging (for example the
panel menus, if they were an applet), but I also wouldn't them
trivially removed through right clicking.
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2002-03-19 21:42:36 UTC
well imho I think that these applets at least should not be movable
via the middle button:

1. Menubar (preferably divided into individual applets see bug 75026
for justification)
2. GnomeMenu
3. Clock
4. volume control (i know this contradicts a bug i filed, but that was
only for consistency sake)
5. Window list
6. Window switcher

These are the core applets of any panel, and making them easily
movable is probably bad.  
Comment 4 Seth Nickell 2002-03-19 23:20:33 UTC
Core applets that are placed on the default panels are too easy to
move with right click menus. So I don't tihnk middle dragging in
particular is problematic. Instead, I want a little flag that allows
applets to be "Locked Down". Then, to move them, user has to right
click, unlock, right click, move. (and of course it'll stay unlocked
after that)
Comment 5 Dave Bordoley [Not Reading Bug Mail] 2002-03-20 01:50:17 UTC
My only objection to that is advance users might find it a wee
annoying. But i'll leave the decision up to you. personally i think
that just disabling the middle click movement on these applets is
enough to keep unsavvy users from doing to much damage to their panel.
Comment 6 Mark McLoughlin 2002-03-20 10:25:13 UTC
I diagree too
Comment 7 Seth Nickell 2002-03-20 12:33:03 UTC
I have fixed too many "completely broken" GNOME installations where
the only problem was a novice user removed a critical applet, to agree
that disabling middle click is all that's necessary.

How many windows machines have you encountered where the taskbar is
off to the side, and the owner doesn't like it, but just has no idea
how to get it back (drag it back to the bottom)?
Comment 8 Dave Bordoley [Not Reading Bug Mail] 2002-03-20 14:35:33 UTC
I agree with seth that some applet should be harder to move than
others, i just don't think it should be as hard as seth wants, but i
disagree about closing this bug, perhaps it should be reopened and
retitled. However, since I am in no position to add code for this, I
will respect the maintainers decision. But i still think key menu
applets should not be movable simply by middle clicking.
Comment 9 Mark McLoughlin 2002-03-20 14:43:20 UTC
Okay, re-opening ...

Lets trash this idea of a locked down applet further ...

What exactly do you mean by a 'little flag' Seth ?

Should the user be able to change this ? and how ?

Or should it be hard-coded into each applet ?
Comment 10 Nils Pedersen 2002-03-20 16:03:55 UTC
IMO, panel editing is completely busted - think i've come to the 
conclusion that to try and mix invocation and configurational 
functionality in the panel is tricky - IIRC windows XP has a specific
editing mode. I don't think there is time to fix it properly for 2.0
tho. How hard would something like an on/off switch to completely lock
editing of the panel and applet editing be?
Comment 11 Mark McLoughlin 2002-03-20 16:10:01 UTC
We're talking specifically about seth's idea of being able to lock
down a single applets position

So, general gripes about the panel not allowed :-)
Comment 12 Seth Nickell 2002-03-21 12:47:28 UTC
I would consider this change important for usability if we move to a
menu applet rather than foobar, since I'd want the menu applet "locked
down" by default. What I would conceive of is a standard setting added
automatically to each applet along with "Move" and "Remove from
Panel". It should be above them in the menus and would be a checkbox
item entitled something like:

"Lock on to panel" or "Lock position" or something like that. When it
is checked, the applet cannot be moved or removed and obviously the
"move" and "remove" items are greyed out.

Any applet the user adds should be unlocked by default. But, the
default panel schemas (i.e. what users with no pre-existing settings
get) would have a panel at the top with a menu applet that was locked
by default, and a window list applet and a workspace switcher that are
locked. The reason is that these are all applets where if they go away
GNOME would be seriously crippled. I wouldn't terribly mind if they
were the only applets that had this functionality, but operating on
the 0,1,n principle it seems at least semi-reasonable to add this to
all applets.

I don't think it would confuse people much because the functions that
were "disabled" are right below this in the menus, and so the
association should be obvious pretty quickly. Its a serious problem
when user's without too much GNOME experience accidentally remove
important applets, and this adds one more barrier to that.

(of course, I agree with Nils, long term we want a nice friendly panel
designer, but even then I would support having these applets bring up
a warning if you try to remove them from in the panel designer, or
something)
Comment 13 Mark McLoughlin 2002-03-21 13:12:37 UTC
Sounds reasonable, I'll do that soon
Comment 14 Nils Pedersen 2002-03-21 17:53:16 UTC
Mark, can you do that for the panels themselves - as well as their 
contents?
Comment 15 Alex Duggan 2003-01-08 04:06:19 UTC
*** Bug 102803 has been marked as a duplicate of this bug. ***
Comment 16 Mark McLoughlin 2003-05-26 13:42:25 UTC
Okay, that's done at last on HEAD:

2003-05-26  Mark McLoughlin  <mark@skynet.ie>
                                                                     
                                         
        Implement a "Lock" flag on applets so you can disable moving them
        about. Fixes bug #74997.