The Following User Says Thank You to Helmuth For This Useful Post: | ||
![]() |
2011-03-24
, 01:05
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#482
|
Thanks, I haven't created a screenshot now. But what about adding a store button on the right, not inside the scrollarea?
At the moment the scroll area has only 50% screen width, it is centered to the left and the right area is empty.
And at maemo, the cancel behavior is always to click on the empty screen area outside the dialog. So no need for a button. You shoudn't store changes to the settings if someone cancels the dialog.
Hmm... At this podcast are several files with umlauts:
http://www1.swr.de/podcast/xml/swr2/impuls.xml
I've read at this forum very often about encoding problems at Qt applications. Using QString instead of String fixed the problems, as far as I know, always. Have a look at the screenshot, the Button in the lower right. In the GTK version the caption is correct shown.
The Following User Says Thank You to xerxes2 For This Useful Post: | ||
![]() |
2011-03-24
, 01:17
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#483
|
Don't forget that german is not the only problem. Think about french, greek, russian and all the arabian and chinese, japanese and hindi stuff.
We should try to ensure that it will work in every language without big problems. As far as I know QString was for this. I don't know why this shouldn't work at PySide.
The Following User Says Thank You to xerxes2 For This Useful Post: | ||
![]() |
2011-03-24
, 17:30
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#484
|
The Following User Says Thank You to xerxes2 For This Useful Post: | ||
![]() |
2011-03-24
, 20:08
|
|
Posts: 1,259 |
Thanked: 1,341 times |
Joined on Oct 2009
@ Germany
|
#485
|
I've located the problem with gpodder now. After going through a few thousands of lines in gpodder i found out that the problem was with panucci's dbus code.I've made small fix now but as I've never used the old panucci and have forgot what was discussed previously in the thread about this stuff you better remind me if it still doesn't work as expected.
The Following User Says Thank You to Helmuth For This Useful Post: | ||
![]() |
2011-03-24
, 20:24
|
|
Posts: 1,259 |
Thanked: 1,341 times |
Joined on Oct 2009
@ Germany
|
#486
|
Hmm, I think you've mentioned this before and thp also made a comment about it in the code. if I understand correctly I think this commit does what you want.
https://github.com/xerxes2/panucci/c...20dee99029a2bd
If it doesn't work or look as expected just tell me and I'll try to fix it. I guess only a save button is needed if you could close the dialog by tap outside it.
I've tried few podcasts there and they work perfectly now. My german is not that good but the umlauts worked atleast.And I also fixed all widgets to show utf8 strings.
The Following User Says Thank You to Helmuth For This Useful Post: | ||
![]() |
2011-03-24
, 21:59
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#487
|
WORKS!
I tested it with the gtk version. As far as I can see it works without problems.
At the qt version I was only able to test what happens if panucci is already running. But no problems so far and it shares the dbus code. So it should work.
Perhaps, if a track was opened before we should add a bookmark at the last playback position to the playlist. But this is only luxury.
The Following User Says Thank You to xerxes2 For This Useful Post: | ||
![]() |
2011-03-24
, 22:17
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#488
|
I have a request regarding the playlist layout. Perhaps you could change the window height to about 400 or 380pixel?
self.main_window.setAttribute(QtCore.Qt.WA_Maemo5StackedWindow )
Thats great.
As far as I can see it works now here, too.
Perhaps we should look later at the ui translation. At the Qt version more buttons are not transtated than at the GTK version. But this has no priority.
The Following User Says Thank You to xerxes2 For This Useful Post: | ||
![]() |
2011-03-24
, 22:42
|
|
Posts: 1,259 |
Thanked: 1,341 times |
Joined on Oct 2009
@ Germany
|
#489
|
You can make panucci use Qt by default by setting "gui=qt" in panucci.conf. But as you say it should work.
![]() |
2011-03-25
, 14:53
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#490
|
Okay. I have to go to bed now, but as far as I able to test there is still a small bug. Perhaps only at the qt code. I must test this more... but to track my observation:
You're playing a podcast, you stop the playback and close panucci and open the same file using gpodder the playback doesn't start automatically.
If you open a different file the playback starts... hmm...
Have a look here, because of this I thought a bigger screen height would be a good idea.
![]()
It doesn't make for me a big difference if dialog or normal window. Mmmh... expect there is no menu possible. I hope I have tomorrow some time to edit this file on my device and play a little bit with it.Will report how it works...
We should try to ensure that it will work in every language without big problems. As far as I know QString was for this. I don't know why this shouldn't work at PySide.