The Following User Says Thank You to xerxes2 For This Useful Post: | ||
|
2011-03-20
, 20:39
|
|
Posts: 1,259 |
Thanked: 1,341 times |
Joined on Oct 2009
@ Germany
|
#452
|
And I'm finished with the Qt gui now so I'll help you fix this bug. And don't forget to try gpodder from git too just in case, will probably have to talk with thp too so we fix this bug in the right place.
|
2011-03-20
, 20:42
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#453
|
But perhaps there is a different Bug that has the same reason:
- Open Panucci with 2 tracks at the Playlist.
- Ensure that you currently playing track 2.
- Close Panucci
- Open Panucci
- As you can see, track 2 is the current track
- Go to the Playlist
- Here is Track 1 highligted (perhaps the index was not set at the startup) [Bug]
- Select Track 2 and Press "Jump to" (or what it is called)
- Close the Playlist
- Track 2 is playing
- Open the Playlist
- Track 2 is highligted [Correct]
So, the Playlist works. The index is correct set. But not correct initialized at the startup.
Could you check this?
And perhaps if we correct this Bug the index will be set correct as soon as the dBus command from gPodder is triggered?
I don't know where the parameter gets the new index. And I'm still a noob in this kind of stuff...
Have to leave now. Back at evening. Have a successful weekend!
Here is Track 1 highligted (perhaps the index was not set at the startup) [Bug]
)
So, the Playlist works. The index is correct set. But not correct initialized at the startup.
|
2011-03-20
, 20:55
|
|
Posts: 1,259 |
Thanked: 1,341 times |
Joined on Oct 2009
@ Germany
|
#454
|
I don't think I understand yjis. I've tried it and it works perfectlly for me. What do you mean by "highlighted"?
The Following User Says Thank You to Helmuth For This Useful Post: | ||
|
2011-03-20
, 20:55
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#455
|
|
2011-03-20
, 21:01
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#456
|
Sorry. I mean, if you have at example 3 tracks at the playlist. One of this track is marked as the current track. How do you say? Highligted, Marked, other background colour?
Anyway. If you have 5 Tracks in the Playlist, and Track 4 is playing... if you open the Playlist you see Track 4 marked, or highligted. It indicated that you currently playing this track.
If you close panucci now and opens it again Track 4 is again loaded on the last position. But if you open then the Playlist Track 1 is marked as currently playing despite the opened Track 4.
If you jump to track 3 track 3 starts. If you close and open the playlist again it still indicates that track 3 is currently playing.
But if you close panucci and open it again, track 3 is loaded, but as soon as you open the playlist it doesn't show that track 3 is currently playing. Track 1 is marked instead while Track 3 is still currently loaded and playing.
|
2011-03-20
, 22:11
|
|
Posts: 1,259 |
Thanked: 1,341 times |
Joined on Oct 2009
@ Germany
|
#457
|
I see, thanks for the explanation. As I said I dont have any highlighted items in my playlist at all. So what you mean is that the currently played item is (or should) always be highlighted?
Edit: Hmm, I can't find any code that highlight items in the menu.
|
2011-03-20
, 22:25
|
|
Posts: 1,259 |
Thanked: 1,341 times |
Joined on Oct 2009
@ Germany
|
#458
|
I Also have a question. Now when the Qt gui is finished, for the desktop atleast, I (we) got to fix the menus and settings dialog to make it play nice with Maemo. Anyone knows how to make a hildon app menu in Qt? Or should I just put one normal menu in each window?
Edit: You run panucci with Qt using the "--qt" switch, depends on pyside. Will probably look a bit weird in Maemo right now.
~ $ panucci --qt /opt/panucci/lib/panucci/qtui/qtmain.py:61: GtkWarning: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed self.app = QtGui.QApplication(["Panucci"]) CRITICAL:panucci Exception caught: Traceback (most recent call last): File "/usr/bin/panucci", line 64, in <module> main.run(opts, args) File "/opt/panucci/lib/panucci/main.py", line 75, in run PanucciGUI(filepath) File "/opt/panucci/lib/panucci/qtui/qtmain.py", line 67, in __init__ self.__player_tab = PlayerTab(self) File "/opt/panucci/lib/panucci/qtui/qtmain.py", line 318, in __init__ self.label_title = qtwidgets.ScrollingLabel(settings.config) File "/opt/panucci/lib/panucci/qtui/qtwidgets.py", line 87, in __init__ self.timer.timeout.connect(self.timer_callback) AttributeError: 'PySide.QtCore.QTimer' object has no attribute 'timeout' ~ $
The Following User Says Thank You to Helmuth For This Useful Post: | ||
|
2011-03-20
, 22:54
|
|
Posts: 513 |
Thanked: 651 times |
Joined on Feb 2011
@ Sweden
|
#459
|
|
2011-03-20
, 23:04
|
|
Posts: 1,259 |
Thanked: 1,341 times |
Joined on Oct 2009
@ Germany
|
#460
|
But the WM7 "horse" has a blood lineage tracing back to donkeys such as WM6.5, 6.1, 6.0, 5.1 that was fully neglected for too many years and Microsoft did sweet F all to maintain it (still running on Pocket IE4/6!!).