[mythtv-commits] Ticket #1802: mythgallery does not set the startdir correctly when using removable media

MythTV mythtv at cvs.mythtv.org
Sat May 27 22:21:45 UTC 2006


#1802: mythgallery does not set the startdir correctly when using removable media
-----------------------------------------+----------------------------------
 Reporter:  leo+nospam at weppelman.net  |        Owner:  ijr     
     Type:  defect                       |       Status:  reopened
 Priority:  minor                        |    Milestone:          
Component:  mythgallery                  |      Version:          
 Severity:  medium                       |   Resolution:          
-----------------------------------------+----------------------------------
Changes (by Aaron McCarthy <mccarthy.aaron at gmail.com>):

  * resolution:  fixed =>
  * status:  closed => reopened

Comment:

 The patch that was applied to fix this ticket is incorrect.  m_galleryDir
 should always be set to the directory define in the gallery settings.
 There is logic in the ESCAPE key handler (iconview.cpp:596) to test if the
 current directory is the mount point of the inserted media.  If that is
 not working correctly then that is where the fix needs to be.

 The way I designed this code to work is that ascending above the mount
 point of the removable media would take you to the "select removable
 media" menu, ascending past that would take you back to m_galleryDir.
 From there it is possible to exit the gallery plugin.  If this is too
 tedious and it is desired to exit the gallery directly from the mount
 point of a removable media then should be removing the logic, or at least
 conditionally executing it based on a setting around iconview.cpp:596.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1802>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list