brunolojor / jbrout

Automatically exported from code.google.com/p/jbrout
0 stars 0 forks source link

Improvements : shorcuts during diaporama #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I imagine that some plugins may do that easily, but it will be really nice
to implement some shorcuts to manipulate the pictures during the diaporama...

The most important thing is to be able to rotate pictures and to add the
picture to the basket.

Original issue reported on code.google.com by gautier....@gmail.com on 7 Jan 2009 at 5:21

GoogleCodeExporter commented 9 years ago
If you press the [Insert] key during slide-show mode this will bring up a side 
bar
with icons for rotation, deletion, commenting and adding to the basket and a 
list of
tags that can be removed.  

pressing the [Insert] key again will hide side bar again. 

In addition in slide-show mode just start typing a tag to add it to the photo. 

Does this solve the issue? 

Original comment by r...@wallace.gen.nz on 8 Jan 2009 at 12:45

GoogleCodeExporter commented 9 years ago
Hmmm.. there is no icons on my side bar, but there should be a link with the
commented lines (see issue 16)... :)

But anyway, I deeply prefer to use shorcuts to rotate my pictures... I'm a 
little
"disabled" with mice and it's easier to type Ctrl-R or Ctrl-L to change the 
rotation...

I have modified these lines to winshow.py, which make me happy.

    def on_WinShow_key_press_event(self, widget, b):
        ctrl = b.state & gtk.gdk.CONTROL_MASK
        key= gtk.gdk.keyval_name(b.keyval).lower()
        if ctrl and (key == "r"):
            node = self.ln[self.idx]
            aaa=os.path.join(node.folderName,node.file)
            pc = PhotoCmd(aaa)
            pc.rotate("R")
            pc.rebuildExifTB()
            self.draw(forceReload=True)
        elif ctrl and (key == "l"):
            node = self.ln[self.idx]
            aaa=os.path.join(node.folderName,node.file)
            pc = PhotoCmd(aaa)
            pc.rotate("L")
            pc.rebuildExifTB()
            self.draw(forceReload=True)
        elif (key == "page_up") or (key == "up") or (key == "left"):
etc..

Ceci dit, c'est un peu n'importe quoi et je comprends a peine ce que j'ai 
fait... Et
ça ne réactualise pas les vignettes...

Original comment by gautier....@gmail.com on 8 Jan 2009 at 1:06

GoogleCodeExporter commented 9 years ago
> Ceci dit, c'est un peu n'importe quoi et je comprends
> a peine ce que j'ai fait... Et
> ça ne réactualise pas les vignettes...

It's a little bit quick'n'dirty ;-)
It's a bad idea ... and should produce some bad results ...

It's really not the good way to do that ... To be able to add shorcuts on this 
kind
of things. We should implement a way to add this feature thru plugin system.
And it will be a lot harder to do ;-) ... shortcuts will be available, but in 
the
future ....

Original comment by manat...@gmail.com on 8 Jan 2009 at 1:30

GoogleCodeExporter commented 9 years ago
I completly agree! :-S

But I was really disappointing to go back from diaporama to rotate pictures 
every
times (since there was no icon when i've pressed the insert key)

Original comment by gautier....@gmail.com on 8 Jan 2009 at 1:35

GoogleCodeExporter commented 9 years ago
if you press the [Insert] key, it will display a bar on the left ...
I really think you should expand your bar, to let icons appears ... (put your 
mouse
between this bar and the picture, and drag to the right)

Original comment by manat...@gmail.com on 8 Jan 2009 at 1:51

GoogleCodeExporter commented 9 years ago
ctrl-l and ctrl-r implemented some time ago for rotate left and right 
respectively.  

Original comment by r...@wallace.gen.nz on 13 Dec 2009 at 4:06