maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   The in-development Maemo 5 Community SSU (https://talk.maemo.org/showthread.php?t=67905)

Rob1n 2011-02-25 09:04

Re: The in-development Maemo 5 Community SSU
 
Quote:

Originally Posted by Carlito (Post 955006)
Without force rotation, nothing is rotating except the menu. Is this how it should be? Or am I missing something?

I'm also seeing the Settings app and App Manager auto-rotating without force rotation on.

tomchiverton 2011-02-25 09:06

Re: The in-development Maemo 5 Community SSU
 
Quote:

Originally Posted by ejasmudar (Post 955036)
I think a widget for fast switching between "forced rotation" and "no forced rotation" is required. It can also have orientation lock when CSSU supports it.

Any developers listening? :)

Yes, I think everyone understands asking end-users to hand-edit a .ini file is not ideal :-)

Mandibela 2011-02-25 09:43

Re: The in-development Maemo 5 Community SSU
 
Quote:

Originally Posted by Rob1n (Post 955051)
I'm also seeing the Settings app and App Manager auto-rotating without force rotation on.

I think I was the first to notice that ill effect. Good to know I'm not the only one.

You could check what settings you have in your 'Phone' app regarding rotation, and if those have any effect on the behavior?

Jaffa 2011-02-25 09:57

Re: The in-development Maemo 5 Community SSU
 
Quote:

Originally Posted by Mandibela (Post 955069)
I think I was the first to notice that ill effect. Good to know I'm not the only one.

What ill-effect? Just like microb, Phone, Conboy, Khweeteur, TwimGo, ...; Settings and Application Manager both properly support portrait mode now. "Force rotation" forces rotation on things which don't support it (yet), such as Conversations, Media Player etc.

It is intended behaviour that Settings and HAM will rotate out-of-the-box (i.e. with "force rotation" off) with the CSSU.

Quote:

You could check what settings you have in your 'Phone' app regarding rotation, and if those have any effect on the behavior?
Some applications which support portrait provide per-app settings as to whether or not they should be always landscape, always portrait or auto-rotate. Some don't.

Currently, neither Settings nor HAM do. Please file a bug if you think they should.

llBlackenedll 2011-02-25 09:57

Re: The in-development Maemo 5 Community SSU
 
Quote:

Originally Posted by tomchiverton (Post 955052)
Quote:

Originally Posted by ejasmudar (Post 955036)
I think a widget for fast switching between "forced rotation" and "no forced rotation" is required. It can also have orientation lock when CSSU supports it.

Any developers listening? :)

Yes, I think everyone understands asking end-users to hand-edit a .ini file is not ideal :-)

I have tested this but just re-wrote it on my computer so sorry for any typos. Just get queenbeecon to run this:

Code:

sed -e 's/forcerotation=0/tmpstr/' -e 's/forcerotation=1/forcerotation=0/' -e 's/tmpstr/forcerotation=1/' /usr/share/hildon-desktop/transitions.ini > tmpFile
mv tmpFile /usr/share/hildon-desktop/transitions.ini

This code looks through transitions.ini and flips the forcerotation variable between 1 and 0. So all you'd have to do is copy that text into a file, chmod +x it, and tell queenbeecon to use it.

There's probably a much better way of doing this so that it prints out what state it has changed to, and could also be changed to add the line if it isn't there, but I didn't have time so this is a pretty basic flipper for now.

EDIT: Better version

ivgalvez 2011-02-25 10:31

Re: The in-development Maemo 5 Community SSU
 
Is there any update to libraries/tools in the CSSU?

I would suggest:
- APT
- PulseAudio
- Kernel Power with Bleeding Edge Wifi drivers, substituting PR1.3 Kernel.
....

I'm really excited with this development, still trying to compile some stuff by myself and start hacking with newer libraries.

Rob1n 2011-02-25 10:32

Re: The in-development Maemo 5 Community SSU
 
Quote:

Originally Posted by Jaffa (Post 955078)
What ill-effect? Just like microb, Phone, Conboy, Khweeteur, TwimGo, ...; Settings and Application Manager both properly support portrait mode now. "Force rotation" forces rotation on things which don't support it (yet), such as Conversations, Media Player etc.

It is intended behaviour that Settings and HAM will rotate out-of-the-box (i.e. with "force rotation" off) with the CSSU.

Yeah, I knew it was expected behaviour, and it certainly doesn't cause any major issues. I'd just prefer an option to disable it.

Quote:

Originally Posted by Jaffa (Post 955078)
Some applications which support portrait provide per-app settings as to whether or not they should be always landscape, always portrait or auto-rotate. Some don't.

I think every single app I use which supports rotation has the option, and I think it ought to be available for everything which supports rotation. I'd really prefer a system-wide setting, with the option of then using the system-wide setting throughout or overriding on a per-app basis - I'm not sure how feasible that'd be though.

Quote:

Originally Posted by Jaffa (Post 955078)
Currently, neither Settings nor HAM do. Please file a bug if you think they should.

I've filed enhancement requests for hildon-menu and hildon-control-panel (there isn't currently a component for HAM, and as I hardly ever use it I don't really care about that one):
https://bugs.maemo.org/show_bug.cgi?id=11981
https://bugs.maemo.org/show_bug.cgi?id=11982

droitwichgas 2011-02-25 11:01

Re: The in-development Maemo 5 Community SSU
 
Quote:

Originally Posted by droitwichgas (Post 955033)
Tried that already but I can still only now select up to the usual 4 desktops?

Anybody any ideas how to get my 9 desktops back as re-installing the CSSU doesn't appear to be an option?

Char 2011-02-25 11:04

Re: The in-development Maemo 5 Community SSU
 
Quote:

Originally Posted by llBlackenedll (Post 955079)
I have tested this but just re-wrote it on my computer so sorry for any typos. Just get queenbeecon to run this:

Code:

sed -e 's/forcerotation=0/tmpstr/' -e 's/forcerotation=1/forcerotation=0/' -e 's/tmpstr/forcerotation=1/' /usr/share/hildon-desktop/transitions.ini > tmpFile
mv tmpFile /usr/share/hildon-desktop/transitions.ini

This code looks through transitions.ini and flips the forcerotation variable between 1 and 0. So all you'd have to do is copy that text into a file, chmod +x it, and tell queenbeecon to use it.

There's probably a much better way of doing this so that it prints out what state it has changed to, and could also be changed to add the line if it isn't there, but I didn't have time so this is a pretty basic flipper for now.

probably a stupid question but why write to tmpfile first and not directly to transitions.ini?

btw, wouldn't that not work? most of those values also require a killall hildon-desktop after

Rob1n 2011-02-25 11:05

Re: The in-development Maemo 5 Community SSU
 
Quote:

Originally Posted by droitwichgas (Post 955107)
Anybody any ideas how to get my 9 desktops back as re-installing the CSSU doesn't appear to be an option?

Uninstall theme customizer?


All times are GMT. The time now is 17:33.

vBulletin® Version 3.8.8