Ask / Submit
13

SDL2 in landscape mode [duplicate]

asked 2015-03-23 15:57:05 +0300

hamlatzis gravatar image

updated 2015-04-27 11:28:14 +0300

eric gravatar image

Is there going to be a fix in the SDL2 library to support landscape mode?

I waited for the market to allow SDL2 applications and now that we can have SDL2 games I had one of my games rejected because it's in landscape mode, at least rendering in landscape mode, but all swipes are as if in portrait mode. So minimize and close swipes don't follow the rotation.

Because the rotation isn't done automatically by the system I have to rotate and translate (in space) the position of the objects and the touch events. Everything related to my game works perfectly but if you want to close the game you have to swipe from right to left, or if you want to minimize you have to swipe from top to bottom.

Specifically the rejection reason word-for-word is:

"Your application is coded to landscape mode. This makes the swipe closing gesture not working as it should work from the top of the application. Currently it works from the right side since the application is set on portrait mode and not actually on landscape mode as the UI shows it. This might confuse the Jolla user since swipe gestures are orientating with the screen orientation. Please fix this orientation issue."

So my game was rejected because of a bug in the system and not my game.

edit retag flag offensive reopen delete

The question has been closed for the following reason "duplicate question" by Kontio
close date 2015-04-15 10:01:15.468920

Comments

I believe the devel mailing list is a better place to get answers on this.

ApB ( 2015-03-23 22:11:20 +0300 )edit
1

Already reported to the devel mailing list, but the answer I received was from other developers and not an official from Jolla.

The answer was that I should try to fix the library and send for approval the patch. I believe a system library, one that is installed on the device should be fixed by the Jolla developers, that is why I reported here as a BUG

hamlatzis ( 2015-03-24 08:51:28 +0300 )edit

With the upcoming Tablet, there is a chance that support for landscape mode will finally get some love.

smoku ( 2015-03-24 09:39:18 +0300 )edit

Are we going to get a fix ever?

hamlatzis ( 2016-10-31 19:49:41 +0300 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-03-24 09:40:37 +0300

smoku gravatar image

This looks like a duplicate of https://together.jolla.com/question/70821/request-support-sdl-landscape-mode/

edit flag offensive delete publish link more

Question tools

Follow
6 followers

Stats

Asked: 2015-03-23 15:57:05 +0300

Seen: 280 times

Last updated: Mar 23 '15