KimoW / mobileterminal

Automatically exported from code.google.com/p/mobileterminal
0 stars 0 forks source link

Shortcut Menu bugs #237

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Alter an existing Shortcut
2. Return to Terminal prompt
3. Activate Shortcuts pop-up menu

What is the expected output? What do you see instead?
Expect Shortcut Menu changes to appear.  Prior Shortcut Menu state remains 
active.

What version of the product are you using? On what operating system?
Latest on iOS4.2.1

Please provide any additional information below.
Changing the first Shortcut Menu item can create worse issues.  These include 
menu items order off-set (e.g. pressing item #1 activates item #2) and 
out-right crashes.

Original issue reported on code.google.com by paul.w.palm@gmail.com on 20 Dec 2010 at 4:25

GoogleCodeExporter commented 8 years ago
Adding Shortcuts has same result.  They are gone the next time you use 
mobileterminal.  4.2.1.

Original comment by fredleason@gmail.com on 22 Dec 2010 at 6:45

GoogleCodeExporter commented 8 years ago

Original comment by dave.sto...@gmail.com on 22 Dec 2010 at 6:46

GoogleCodeExporter commented 8 years ago
I had neglected to do the chown commands on the /Applications/Terminal.app 
directories as described in the Installation guide.  Once permissions are 
correct, the app remembers gestures and shortcuts.  Sorry for the distraction.  

Original comment by fredleason@gmail.com on 24 Dec 2010 at 1:16

GoogleCodeExporter commented 8 years ago
OK, I've marked as Invalid.  Please re-open if you have any other options.

Original comment by allen.po...@gmail.com on 27 Dec 2010 at 11:04

GoogleCodeExporter commented 8 years ago
Sorry, I forgot the same thing. Shame on me. Indeed, this is an invaild issue

Original comment by dave.sto...@gmail.com on 27 Dec 2010 at 11:09

GoogleCodeExporter commented 8 years ago
Installing a DEB via Cydia's Autoinstall directory should not require any 
permission changes.  Be that as it may, I followed the permissions changes in 
the guide and the problems persist.  The issue remains valid.

Original comment by paul.w.palm@gmail.com on 28 Dec 2010 at 5:03

GoogleCodeExporter commented 8 years ago
Could you please show us a ls -l log?

Original comment by dave.sto...@gmail.com on 28 Dec 2010 at 5:14

GoogleCodeExporter commented 8 years ago
This works fine:

iPhone:/var/stash/Applications.pwn root# ls -la Terminal.app
total 640
drwxr-xr-x  3 root admin    680 Dec 21 03:00 ./
drwxr-xr-x 47 root wheel   1598 Dec 27 00:12 ../
-rw-r--r--  1 root admin     28 Oct  3 19:15 CodeResources
-rw-r--r--  1 root admin   2178 Oct  3 19:15 Default.png
-rw-r--r--  1 root admin    923 Oct  3 19:15 GestureInputActions.plist
-rw-r--r--  1 root admin   9772 Oct  3 19:15 Icon-72.png
-rw-r--r--  1 root admin   6704 Oct  3 19:15 Icon-Small-50.png
-rw-r--r--  1 root admin   4328 Oct  3 19:15 Icon-Small.png
-rw-r--r--  1 root admin   6674 Oct  3 19:15 Icon-Small\@2x.png
-rw-r--r--  1 root admin   7637 Oct  3 19:15 Icon.png
-rw-r--r--  1 root admin  15837 Oct  3 19:15 Icon\@2x.png
-rw-r--r--  1 root admin    975 Oct  3 19:15 Info.plist
-rw-r--r--  1 root admin   4182 Oct  3 19:15 MainWindow-iPad.nib
-rw-r--r--  1 root admin   4438 Oct  3 19:15 MainWindow.nib
-rw-r--r--  1 root admin    343 Oct  3 19:15 MobileTerminal.xcent
-rw-r--r--  1 root admin   5046 Oct  3 19:15 MobileTerminalViewController.nib
-rw-r--r--  1 root admin      8 Oct  3 19:15 PkgInfo
-rw-r--r--  1 root admin   7390 Oct  3 19:15 PreferencesViewController.nib
-rwxr-xr-x  1 root admin 500960 Oct  3 19:15 Terminal*
drw-r--r--  2 root admin    102 Dec 21 03:00 _CodeSignature/
iPhone:/var/stash/Applications.pwn root# 

Original comment by fredleason@gmail.com on 29 Dec 2010 at 1:07

GoogleCodeExporter commented 8 years ago
I suspect the Cydia DEB download from iJailbreak was flawed.  It did not set 
the permissions correctly.  I already mentioned it to them.  

Original comment by fredleason@gmail.com on 29 Dec 2010 at 1:11

GoogleCodeExporter commented 8 years ago
Issue remains invaild untill proven otherwise
(I hope my grammar is acceptable)

Original comment by dave.sto...@gmail.com on 29 Dec 2010 at 1:20

GoogleCodeExporter commented 8 years ago
This does *not* work:

Pauls-iTouch-2G:/var/stash/Applications.pwn/Terminal.app root# ls -la
total 608
drwxr-xr-x  3 root admin    680 Dec  2 00:07 ./
drwxr-xr-x 47 root wheel   1598 Dec 19 09:24 ../
-rw-r--r--  1   33    33     28 Oct  3 20:15 CodeResources
-rw-r--r--  1   33    33   2178 Oct  3 20:15 Default.png
-rw-r--r--  1   33    33    923 Oct  3 20:15 GestureInputActions.plist
-rw-r--r--  1   33    33   9772 Oct  3 20:15 Icon-72.png
-rw-r--r--  1   33    33   6704 Oct  3 20:15 Icon-Small-50.png
-rw-r--r--  1   33    33   4328 Oct  3 20:15 Icon-Small.png
-rw-r--r--  1   33    33   6674 Oct  3 20:15 Icon-Small\@2x.png
-rw-r--r--  1   33    33   7637 Oct  3 20:15 Icon.png
-rw-r--r--  1   33    33  15837 Oct  3 20:15 Icon\@2x.png
-rw-r--r--  1   33    33    975 Oct  3 20:15 Info.plist
-rw-r--r--  1   33    33   4182 Oct  3 20:15 MainWindow-iPad.nib
-rw-r--r--  1   33    33   4438 Oct  3 20:15 MainWindow.nib
-rw-r--r--  1   33    33    343 Oct  3 20:15 MobileTerminal.xcent
-rw-r--r--  1   33    33   5046 Oct  3 20:15 MobileTerminalViewController.nib
-rw-r--r--  1   33    33      8 Oct  3 20:15 PkgInfo
-rw-r--r--  1   33    33   7390 Oct  3 20:15 PreferencesViewController.nib
-rwxr-xr-x  1   33    33 500960 Oct  3 20:15 Terminal*
drw-r--r--  2   33    33    102 Dec  2 00:07 _CodeSignature/
Pauls-iTouch-2G:/var/stash/Applications.pwn/Terminal.app root# 

Original comment by paul.w.palm@gmail.com on 29 Dec 2010 at 8:27

GoogleCodeExporter commented 8 years ago
Problems *persist* as this:

Pauls-iTouch-2G:/var/stash/Applications.pwn/Terminal.app root# ls -la
total 608
drwxr-xr-x  3 root admin    680 Dec  2 00:07 ./
drwxr-xr-x 47 root wheel   1598 Dec 19 09:24 ../
-rw-r--r--  1 root admin     28 Oct  3 20:15 CodeResources
-rw-r--r--  1 root admin   2178 Oct  3 20:15 Default.png
-rw-r--r--  1 root admin    923 Oct  3 20:15 GestureInputActions.plist
-rw-r--r--  1 root admin   9772 Oct  3 20:15 Icon-72.png
-rw-r--r--  1 root admin   6704 Oct  3 20:15 Icon-Small-50.png
-rw-r--r--  1 root admin   4328 Oct  3 20:15 Icon-Small.png
-rw-r--r--  1 root admin   6674 Oct  3 20:15 Icon-Small\@2x.png
-rw-r--r--  1 root admin   7637 Oct  3 20:15 Icon.png
-rw-r--r--  1 root admin  15837 Oct  3 20:15 Icon\@2x.png
-rw-r--r--  1 root admin    975 Oct  3 20:15 Info.plist
-rw-r--r--  1 root admin   4182 Oct  3 20:15 MainWindow-iPad.nib
-rw-r--r--  1 root admin   4438 Oct  3 20:15 MainWindow.nib
-rw-r--r--  1 root admin    343 Oct  3 20:15 MobileTerminal.xcent
-rw-r--r--  1 root admin   5046 Oct  3 20:15 MobileTerminalViewController.nib
-rw-r--r--  1 root admin      8 Oct  3 20:15 PkgInfo
-rw-r--r--  1 root admin   7390 Oct  3 20:15 PreferencesViewController.nib
-rwxr-xr-x  1 root admin 500960 Oct  3 20:15 Terminal*
drw-r--r--  2 root admin    102 Dec  2 00:07 _CodeSignature/
Pauls-iTouch-2G:/var/stash/Applications.pwn/Terminal.app root# 

Original comment by paul.w.palm@gmail.com on 29 Dec 2010 at 8:39

GoogleCodeExporter commented 8 years ago
Re-opening since its not clear to me what the problem is.  I originally got the 
impression that simply setting some file permissions fixed this, but that does 
not seem to be the case.

- We need an official .deb release so that everyone doesn't have to muck with 
permissions.  That will at least make it clear that the file permissions are or 
are not related to this problem

- Preferences are written using NSUserDefaults, so we need to look at how it 
writes preferences.

- Even if we fail to write preferences due to lack of permissions, we should 
have a better failure mode.  That seems worth investigating.

Original comment by allen.po...@gmail.com on 2 Jan 2011 at 6:03

GoogleCodeExporter commented 8 years ago

Original comment by allen.po...@gmail.com on 2 Jan 2011 at 6:03

GoogleCodeExporter commented 8 years ago
I can author a .deb that sets permissions, which will guarantee that 
permissions aren't ever an issue.  However, I do not know how to compile code 
and cannot even determine where to download the latest revision.

Original comment by paul.w.palm@gmail.com on 3 Jan 2011 at 5:07

GoogleCodeExporter commented 8 years ago
Instructions for how to compile are here: 
http://code.google.com/p/mobileterminal/wiki/Developers
(I have a feeling this isn't related to .deb permissions, so we should probably 
continue .deb discussions in the other bug about installation)

Original comment by allen.po...@gmail.com on 9 Jan 2011 at 4:20

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r487.

Original comment by allen.po...@gmail.com on 9 Jan 2011 at 4:30

GoogleCodeExporter commented 8 years ago
Not to sound ungrateful, but isn't everyone compiling the code over and over 
like re-assembling the wheel?  Seems like each revision could have a 
corresponding build linked from the revision's URL.

Will continue discussion in Issue 220.

Original comment by paul.w.palm@gmail.com on 9 Jan 2011 at 4:53