Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature suggestion] Landscape support for Paint #49

Open
Olf0 opened this issue Jul 21, 2016 · 2 comments
Open

[Feature suggestion] Landscape support for Paint #49

Olf0 opened this issue Jul 21, 2016 · 2 comments

Comments

@Olf0
Copy link

Olf0 commented Jul 21, 2016

Paint 0.8.6 hangs on Startup, thus UI never shows.
[Edit: This is incorrect, see below.]
[...]
Please, please fix that, as Paint is an really awesome SFOS application.
[...]

@kimmoli
Copy link
Owner

kimmoli commented Jul 22, 2016

Only thign i can get apps not starting, is that the booster failed somehow, and it is still running.

ps aux | grep paint

You have tried to reboot? (i assume so)
Phone or tablet?
You could try to uninstall it, and then completely remove /usr/share/harbour-paint/ -folder if it exists.

Run paint from command-line with following env vars, it should provide a lot more output.

QT_DEBUG_PLUGINS=1 harbour-paint
QML_IMPORT_TRACE=1 harbour-paint

And you could also try latest 0.8.30 build http://repo.merproject.org/obs//home:/kimmoli:/vendor-meego/sailfishos_latest_armv7hl/armv7hl/harbour-paint-0.8.30-67.1.armv7hl.rpm

@Olf0
Copy link
Author

Olf0 commented Jul 22, 2016

Oh, shame on me: I discovered this before and forgot to file a feature request. Actually I completely forgot, that Paint does not support landscape orientation properly. When started in landscape orientation, I looks as if Paint just hangs (unless one realises, that it actually runs, but with the menu off screen and the canvas cropped).

So this "bug report" should have been this feature suggestion:

Paint 0.8.6 does not properly support landscape mode. In landscape orientation, Paint's menu is off screen and the canvas cropped.
Suggestion for a solution:
Do "not rotate" the canvas, i.e. rotate it according to the device orientation, so that the canvas appears to be fixed on the screen.
But do redraw the menu bar on the new top of the screen. Actually, landscape orientation would be a bonus, as the menu bar could be fully displayed without the need for scrolling sideways. And it would be easier to paint in places of the canvas, where the menu bar is in the way (e.g. start drawing a line "under" it), as one would be able to "rotate the menu bar away" (except for a small rectangle).

As many people install "Patches" (for "Patchmanager" from "Warehouse" / <openrepos.net>, as "Allow any rotation for all SailfishOS applications / UI rotate free" by coderus or "Allow any rotation except inverted portrait for SailfishOS apps" by alina) for using their SailfishOS device primarily in landscape orientation, any way of making Paint in landscape orientation useable would be helpful.
Maybe a simple switch in Paint's settings to make Paint start up in either landscape or portrait mode (independent of the real orientation of the device) is easier to implement, and definitely already an enhancement (making Paint in landscape usable), as currently Paint 0.8.6 is always in portrait mode. With the default configuration, nothing would change (i.e. Paint is always in portrait mode, just as it currently behaves), but one would gain the ability to explicitly set Paint to run in landscape mode.

Kudos for this excellent and feature rich native application. IMO, no other native drawing application comes close to Paint's look and functionality. Thanks!

I uploaded five PNGs to depict this issue.

  • Screenshot made in landscape orientation, showing the issue:
    screenshot-landscape_paint0 8 6-in-landscape
  • Picture as saved with Paint 0.8.6:
    saved-picture_paint0 8 6-in-landscape
  • Screenshot made in portrait orientation (thus everything looks fine):
    screenshot-portrait_paint0 8 6-in-landscape
  • Screenshot made with Paint 0.8.6 freshly started in landscape orientation, showing the original issue:
    paint0 8 6-freshly-started-in-landscape
  • Screenshot made with Paint 0.8.6 freshly started in portrait orientation (hence looking as it ought to):
    paint0 8 6-freshly-started-in-portrait

On 22 July 2016 09:26:43 CEST, Kimmo Lindholm [email protected] wrote:

Only thign i can get apps not starting, is that the booster failed
somehow, and it is still running.
[...]

No component of Paint is still running.

You have tried to reboot? (i assume so)

Sure.

Phone or tablet?

This is on an original Jolla phone with SailfishOS 2.0.1.11

You could try to uninstall it, and then completely remove
/usr/share/harbour-paint/ -folder if it exists.

Run paint from command-line with following env vars, it should provide
a lot more output.

QT_DEBUG_PLUGINS=1 harbour-paint
QML_IMPORT_TRACE=1 harbour-paint

And you could also try latest 0.8.30 build
http://repo.merproject.org/obs//home:/kimmoli:/vendor-meego/sailfishos_latest_armv7hl/armv7hl/harbour-paint-0.8.30-67.1.armv7hl.rpm

@Olf0 Olf0 changed the title Paint v0.8.6 is failing to start properly under SFOS 2.0.1.11 for me [Feature suggestion] Landscape support for Paint Jul 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants