alamminsalo / orion

Cross platform Twitch.tv client
GNU General Public License v3.0
313 stars 60 forks source link

Help wanted testing / feedback for upcoming 1.6 branch #183

Closed alamminsalo closed 7 years ago

alamminsalo commented 7 years ago

There's now a upcoming material-design (ver 1.6) branch available, some suggestions/feedback/regression testing would be welcome now

Features:

I think the most critical part is to check some distros and see if they break the app. I have a feeling some components used (StackLayout most probably) breaks on older qt libs

ahjolinna commented 7 years ago

first thing I notice was that when u click on some channel its hard to see at times the icons and text:

image

btw. there is the KDE's Kirigami project that is made for mobile but will also works/scale on desktop..I think it would scale better on both compare to material-design that is made for android/mobile

Kirigami(2.x) only depends on "qt5-quickcontrols2" so its not KDE only thing, KDE see this as more of a extension for quickcontrols2 then its own a separate thing

currently KDE uses at least Kirigami on discover and kalgebra on desktop, and kde-connect for android version.

demo video: Kirigami 2 introduction

If you want to try it out on Android, the Kirigami Gallery demo app is available on Google Play.


PS. I liked the old "look" more than this "material design" version. I think you are trying to make a UI/UX that scales on mobile and destkop....but Android's material design was never made for desktop usage in mind (mouse/keyboard), thats why I think something like Kirigami would be better as its designed for scale for both.

-And YES I'm KDE user (have been for years) so maybe I'm not so impartial

ahjolinna commented 7 years ago

the chat is also little bit broken: image Kirigami presentation (1year old): youtube link

alamminsalo commented 7 years ago

I see the KDE somehow prevents the actual theme from loading, the screenshots don't look right at all

ahjolinna commented 7 years ago

Good to know, as I was wondering why it looked so different/worse

Anyway I would still check Kirigami out as it seems to have more scalability...at least if you want to make both desktop and mobile version

alamminsalo commented 7 years ago

Here's some screenshots how it should look like, they are visible on the branch readme. I think KDE looks to be doing some aggressive styling redefinitions, because some elements in your screenshots look like kde style (tab bar for example).

1

2

3

ahjolinna commented 7 years ago

this how settings look like: image

it seems orion wont/cant load the background, : <Unknown File>: QML Material: Binding loop detected for property "background"

also I don't think the chat shouldn't "overstep" the rest of the UI


@alamminsalo : Anyway, did u have time to check Kirigami at least on android, if so what do you think about it?

github link: https://github.com/KDE/kirigami announcement: https://dot.kde.org/2016/03/30/kde-proudly-presents-kirigami-ui

it seems Subsurface mobile version is also using it (the Linus Torvalds diving app)

alamminsalo commented 7 years ago

I just fixed the bug (via overriding QT_QUICK_CONTROLS_STYLE, a temporary solution really), now it should look ok...

The floating-player-mode is also currently under works

Chat: Yep, I think the chat could have a pin button, which makes it behave as in earlier version.

About kirigami: I haven't yet, but I will :)

ahjolinna commented 7 years ago

@alamminsalo : yeah that worked/fixed it, I hope that you will fix that chat thing also or either go with Kirigami2.x directly

I'm glad that KDE made kirigami as more of an quickcontrols2 extension than a "KDE only" thing, so it shouldn't bring problems to none KDE users.

rakslice commented 7 years ago

I did a quick test build of this in Windows with the qt.io-provided Qt 5.9.0

Some things I noticed:

image

Images shown in the grid are being overly cropped -- game box art often has titles at the top & bottom that are being cropped out -- while most of the window space is being used for the grey background.

image

The VOD thumbnails are being letterboxed within an area that is partially covered by the text box; with typical stream title sizes, only half the thumbnail is actually visible

image

I can easily see these while resizing the window, and they come up consistently at the window sizes they happen at.

alamminsalo commented 7 years ago

Thanks for feedback, the issues mentioned should be pretty easy to fix.

I forgot to tell that the AwesomeIcons have been replaced by Material icons, to go with the design. I'll update it to the start comment

ahjolinna commented 7 years ago

I just notice that if you change the font to for example to Source Sans Pro it resets back to "Arabic Newspaper" when you close/restart the app

wenolu commented 7 years ago

My main issue with orion is still the font of the chat, it looks really bad and being unable to remove the left column with stuff to have a 16:9 video

Otherwise, this is my only way to watch streams on my turboshit pentium e machine so god bless you

alamminsalo commented 7 years ago

@wenolu Left column has been removed in the upcoming release (moved to top, not visible in fullscreenmode) Chat font will be also changed

alamminsalo commented 7 years ago

Fixes so far:

orion

ahjolinna commented 7 years ago

@alamminsalo : have you thought about making/adding a light theme option? for those who don't like the dark theme for some reason or another.


I hate to sound like I'm "quibbling" about this, but have you tried the Kirigami thing, and if you did, what do u think about it.

I think this version is fine for desktop at least, but if you are going for mobile version also then maybe you need some more/better scalability, I think this is what Kirigami could bring to the table...at least more easily

and Kirigami is not a KDE only thing, like KDE projects have been before in KDE 4 time period...the team learned from that mistake at least


I also notice that there are some new clazy warnings, I would recommend that someone would look into, before releasing a stable version.

ahjolinna commented 7 years ago

I just notice a small thing missing, the volume icon...its looks little bit weird to just see the volume slider

alamminsalo commented 7 years ago

@ahjolinna the material theme supports light theme and that would be trivial to implement as setting. Kirigami would need another branch for prototyping, I haven't had yet the time to sit down for this. Wouldn't adding kirigami add yet another dependency?

ahjolinna commented 7 years ago

Yes you would need Kirigami as a dependencies (which is just dependent on quickcontrols, as it's works just as an extension of it)

WyohKnott commented 7 years ago

Some feedback on the normal branch (I've used v1.5.1rc extensively, with qtmultimedia engine on Fedora 25):

(Compiling material-design branch, commit 0e71823 right now, still Fedora 25 + qtmultimedia):

“orion” terminated by signal SIGSEGV (Address boundary error)

AndyShade commented 7 years ago

Need adjustable notifications size or and (for me) they must appear much closer to desktop border and trey panel.

alamminsalo commented 7 years ago

@WyohKnott The floating player button enables player to "float" over other views (for example search view) when enabled

CuddleBear92 commented 7 years ago

missing timecodes for vods aswell as previews when for the timeline for the vods.

also think we need a way to mark vods as watched manually or automatically when watched.

ahjolinna commented 7 years ago

I only now noticed that the mouse/cursor auto-hide doesn't work anymore

and the font's still keeps reverting back everytime to the arabic newspaper font

alamminsalo commented 7 years ago

Here's some progress today:

@ahjolinna the font selector option was added as feature to check how different fonts would look with the UI, I didn't intent it would be a visible feature when released

ahjolinna commented 7 years ago

Well that explains it, I personally would like to have that option to choose your font

CuddleBear92 commented 7 years ago

do think the player needs a bit more hotkeys. like mousewheel to adjust volume and click to pause vod for example. the new ui does look really great so far though!

ahjolinna commented 7 years ago

@AreFinstad : check #134 and give your own suggestion for some hotkeys possibilities

ahjolinna commented 7 years ago

@alamminsalo : I was thinking if you would also do an experimental Kirigami version, and then release a "stable" version that would include all 3 UI's and let people to build their version and give feedback on all 3 version and see which is fits better and then make it default on the next one.

but then again if you see something in kirigami that would make it out of the question..then thats fine. btw. Kirigami 1.x is based on quickcontrols1 and 2.x is based quickcontrols2.x (the Kirigami 2.2 just arrived few days ago) check the Kirigami2 API overview

also this is how KDE thinks Convergence between different platform should be, maybe you can get some ideas and their forum page about kirigami/mobile


I did just notice that with light theme doesn't make the player UI "light", and the top-bar's font color is too "bright/light"...otherwise the material UI seems to work now


also what is the minimum Qt5 version for the material UI? (any idea)

alamminsalo commented 7 years ago

@ahjolinna I need to test building with older versions to see if anything breaks. Ubuntu has qt 5.6 currently IIRC, so I think targeting this version would be wisest

ahjolinna commented 7 years ago

@alamminsalo : well at least on openSUSE leap 42.2 (Qt5.6 based) doesn't have libqt5-qtquickcontrols2..by default at least... apprently not even tumbleweed doesnt have it..sigh...oh well I really dont care anymore as I'm on arch (master race )

ahjolinna commented 7 years ago

@alamminsalo : is there a reason why "right mouse clicking" the stream/video area pauses the stream, if this is a mobile thing that's fine but at least on desktop its little bit annoying if you miss click or try to move the app somewhere (another monitor) etc.

also if you have the "chat on bottom" option enabled and watch in fullscreen and try to open chat it won't open and the bottom player UI vanishes....it does work on windowed mode just fine

ahjolinna commented 7 years ago

I don't know if this is attentional or not but if you have the chat locked and then try hide it...it looks like this: image

ahjolinna commented 7 years ago

and about light mode, it seems the chat shows dark font against dark background for the "channel subscription" notifications: image

also shouldn't the player UI also change to light, it looks little bit off when everything else has changed but that: image

ahjolinna commented 7 years ago

I just notice one irritating thing when watching VOD's, at times if I try to press the play/pause button it sometimes registers that on the "seekbar" instead so that means the stream will go back to the beginning, has this something to do with the mobile side stuff? where "click/touch area" is bigger

ahjolinna commented 7 years ago

more..again... :D if I scroll the channel list at least on my "followed" on windowed mode it start to "twitch", sometimes more at time less

alamminsalo commented 7 years ago

Todays fixes have arrived:

After bit of testing, I'm planning on merging to master soon. The usability is already above 1.5 version IMO.

I fear minimum Qt version will be 5.8. This is because current UI needs Controls 2.1, which was added in Qt 5.8. We'll need AppImage or Flatpak because of this, to distribute for folks over Ubuntu and others

ahjolinna commented 7 years ago

@alamminsalo : currently choosing between snap, flatpak & appimage...can be little bit pain in the ass... as snap is only used by ubuntu and appimage is on favored by rpm based distros (fedora & openSUSE)....flatpak seems the most neutral as many do seem support it also (as main one or 2nd optional one).

It seems Gnome and KDE ("app store") are both currently supporting flatpak but there is difference with the 2nd one... Gnome went with appimage and KDE with snap (if I do remember correctly)...we have to see if they will support all 3 somedays

Steam apparently (offically?) went with flatpak. so it seems that flatpak is the most favorable from many sides

but I wonder how good the flatpak/snap/appimage support are on these distros that are using Qt5.7 or older. So why not release the current master branch as 1.5.2 as the last Qt5.6 compatible version...and then release 1.6 for those distros that can use Qt5.8+ and maybe an "experimental flatpak (or some other)" release for those who want.

probonopd commented 7 years ago

AppImage can definitely do what you are looking for, and it is the most distribtion-agnostic of the three.

If you can get this to build on Travis CI for Linux, then we can convert it to an AppImage easily using https://github.com/probonopd/linuxdeployqt.

ahjolinna commented 7 years ago

all 3 are more or less as distribution-agnostic as the other, the question is just which one has wider/mainstream support and flatpak seems to gain more ground on this.

"And generally the latest Flatpak version was available on all of the latest distribution releases...Where Snap was only using the latest version in Ubuntu 17.04 Zesty and Debian Stretch. Snap support in Ubuntu was out-of-date, Fedora doesn't have the support in the main repository on F25, the Gentoo Snaps were outdated, the openSUSE support was outdated, and on Mageia the support wasn't even available." -- from phoronix

personally I really don't know how AppImage is support outside of the rpm based distros (I mean offically)...for example arch and more importantly Ubuntu. I don't say that there are any technical reason why AppImage it self wont wont on those distro but what is those distros support that format...as the support has to be a two way street to work properly.

and as KDE has went with flatpak first and snap 2nd...and gnome supports Flatpak also..I think gnome did go with AppImage as the 2nd option...but I could be wrong, if I am wrong and Gnome supports snap instead of AppImage that means the 2 major DE's don't support AppImage at all.

because of this I can't really give my vote for AppImage, good maybe as it is..not enough support. plus why I see those "support" so important? because that will make the mainstream/enduser life easier and that is what I think it should be about...those who care about these technical stuff can already create their own version if they want or use that "unofficial spinoff" version

probonopd commented 7 years ago

Sorry but I think you are entierly confusing things, maybe you are mixing up AppImage with Snappy?

So, in an nutshell,

DistroWatch concluded that out of the three systems, it was the only one that worked reliably everywhere.

As for adoption, the list of upstream-provided AppImages exceeds the list of Flatpaks manyfold.

alamminsalo commented 7 years ago

Thanks for input, I've recently merged this