Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#979 closed System Defect (fixed)

Mount Tray icon in PCBSD Control Panel does nothing when clicked

Reported by: gef_f Owned by:
Priority: major Milestone:
Component: System Configuration Version: 10.0-RELEASE
Keywords: Cc: trac-bugs@…

Description

When double clicking the Mount Tray icon in PCBSD Control Panel. Nothing opens.

Change History (8)

comment:1 Changed 19 months ago by kenmoore

  • Resolution set to invalid
  • Status changed from new to closed

The mount tray opens up a menu on single-click (either right or left). Double clicking simply opens and then closes that menu.

comment:2 Changed 19 months ago by gef_f

I tested with a single click and it doesn't open a menu either. I thought about creating a new ticket, but I think that maybe you didn't understand the ticket. You did realize that I was talking about the PCBSD Control Panel and not the icon in the system tray?

comment:3 Changed 19 months ago by gef_f

  • Resolution invalid deleted
  • Status changed from closed to reopened

Ok, I looked the execute command from the configuration file /usr/local/share/pcbsd/pc-controlpanel/items/hardware/pc-mounttray.desktop and tested it by hand. The error is:

pc-mounttray: cannot connect to X server 

I'm reopening the ticket.

comment:4 Changed 19 months ago by kenmoore

  • Resolution set to deferred
  • Status changed from reopened to closed

My apologies, I did not notice you were talking about the Control Panel entry rather than the actual mount tray.

We have the Mount Tray setup so that only a single instance of it can be running at a given time. So if you already have it running in the system tray it will not do anything when you try to start another one up.

The X error that you posted make it sound like you have done something to your user/system permissions settings though. PCDM locks down the X Server so that only the currently logged-in user can start up graphical applications. If you are also logged in as some other user (like root) on another tty you will not be able to start graphical applications from that other user session.

I have still not been able to reproduce this on a clean PC-BSD 10.0 system. Additional information about any system/configuration changes you have made might help figure out what is going on with your system.

comment:5 Changed 19 months ago by gef_f

Ok. This explains it. The program is already running in the system tray and that is why it doesn't launch from the Control Panel. Maybe in this case it could be useful for a consistent user experience if the Mount Tray in control panel would open a popup saying it is already running.

I haven't made any customizations to the system.

comment:6 Changed 19 months ago by kenmoore

  • Resolution deferred deleted
  • Status changed from closed to reopened

comment:7 Changed 19 months ago by kenmoore

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed!
It will now open up the Mount Tray settings dialog if you try to start up a second instance of the applications.

https://github.com/pcbsd/pcbsd/commit/9adce5d367e4387fcd53dae0055112c1bde56b1a

comment:8 Changed 19 months ago by gef_f

I built the mount tray from updated sources and tested. This fix works well in my opinion.

Note: See TracTickets for help on using tickets.