KDE Developer
|
Here is for the Wish #3.
Sorry if my patches are wrong.
|
Alumni
|
Shouldn't this be done higher up, like in khotkeys ?
This wish might not be a good idea. What if I want to open the screenshot in another program, oops already closed. I think it is fine as it is.
Alsagoff, proud to be a member of KDE forums since 2008-Dec.
|
Administrator
|
Wish 166608 has already been fixed, thanks to the KHotkeys refactor for 4.2.
Nothing was wrong with KSnapshot in 4.1 with regard to that functionality, it was just never called because KHotkeys was broken.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Mentor
|
Looks good. I will patch my working copy and check it again then. If all works correctly it can be comitted. Thanks.[hr]
This could be a solution. But I am not able to say that this is really right and if this is ok with the maintainer. I think this patch should not be comitted directly, but added as an attachment to the bugs comments.[hr]
This looks good, but the bug report stated, that this feature should be configurable. Have a look at http://techbase.kde.org/Development/Tutorials/Using_KConfig_XT. If you want to, you can also thought about other things which can go into a config dialog, because there is no one at moment. The "Close after Open As" would be the single option in a dialog.
Last edited by msoeken on Tue Dec 30, 2008 12:00 pm, edited 1 time in total.
[size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size] |
KDE Developer
|
Well if there is only one option. Then it should go under the other checkbox. But I tried doing that in the designer and it totally screwed up the layout. It needs to be redesigned with a grid dragged onto it. And then expanded into a grid on the main window. Because right now its hard to add to it.
|
Mentor
|
You can just drag a new checkbox below the other in the designer. I do not think you have to reimplement it. But I am not sure whether this is a good place for the option. But nevertheless you cut put it there in your first patch and implement the functionality. Later it could be put elsewhere, if this is whished. [size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size] |
Alumni
|
The thing with this patch is that the user needs to move the mouse after he pressed Alt-Tab but how is he to know this ? Thus, this small modfication. Not sure if we only need this on X11, so I have left that out. All credit goes to Comawhite.
Alsagoff, proud to be a member of KDE forums since 2008-Dec.
|
Mentor
|
That sounds good. But instead of detecting autorepeat, KHotKeys should distinguish between KeyUp and KeyDown Events. When listening for KeyUp you are not able to trigger it twice during one press on the key. I am not sure whether listening for KeyDown does make sense but I do not know every use case. [size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size] |
Mentor
|
Ok, this was the first kourse. Thanks to all students and helping hands. In summary, four bugs have got attention with great results. One patch has already been sent to the maintainer and two other patches just needs some small modifications. One bug brought attention to some problems in KHotKeys with autorepeat events. I am now closing this thread, but we can still talk about this kourse in the discussion thread.
Cheers, m [size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size] |
Registered users: Bing [Bot], Google [Bot], kesang, Sogou [Bot], Yahoo [Bot]