Skip to content

Shift+F5 shortcut does not work in Execute SQL tab #1491

Closed

Description

@Bluezy

Details for the issue

As the title says, pressing F5 in the 'Execute SQL' tab has no effect.
Clicking on the icon to execute the current line works as expected, however.

What did you do?

I haven't checked other key combinations.

What did you expect to see?

What did you see instead?

Useful extra information

The info below often helps, please fill it out if you're able to. :)

What operating system are you using?

  • Windows: ( version: 10 X64 )
  • Linux: ( distro: ___ )
  • Mac OS: ( version: ___ )
  • Other: ___

What is your DB4S version?

  • 3.10.1

Did you also

Activity

  1. MKleusberg commented on Aug 5, 2018

    @MKleusberg
    Member

    Do you mean Shift+F5 (as you say in the title) or just F5 (as you say in the text)? 😄 Shift+F5 is sensitive to the current line. So if the cursor is for example in an empty line nothing will happen.

  2. self-assigned this
    on Aug 6, 2018
  3. mgrojo commented on Aug 6, 2018

    @mgrojo
    Member

    I've just reproduced this, but not sure how. It's working in the English version, but in the Spanish translation it doesn't work currently. The same is happening to "Shift+F1" which should enter in "What's this" mode. In the Help menu the shortcut is not displayed, but I'm sure to have seen it while I was updating the translation, as May+F1 (Spanish for Shift+F1).

    @Bluezy Are you using a translated version? Could you change provisionally to English just to see if it works again?

  4. mgrojo commented on Aug 6, 2018

    @mgrojo
    Member

    I fixed the Spanish translation and now both Shift+F1 and Shift+F5 worked again. They weren't working since I updated the translation. If it weren't by this (possibly unrelated) issue, I wouldn't have notice in a while 😄

    @Bluezy If you were using a translation it might be related. Then we could fix that translation so it works Ok.

  5. justinclift commented on Aug 6, 2018

    @justinclift
    Member

    Heh Heh Heh. Learn something interesting almost every day. 😁

  6. chrisjlocke commented on Aug 16, 2018

    @chrisjlocke
    Member

    @Bluezy - Can you try one of our nightlies, which can be found here:
    https://nightlies.sqlitebrowser.org/latest

  7. justinclift commented on Sep 7, 2018

    @justinclift
    Member

    Closing this due to lack of response.

  8. SilvioGrosso commented on Nov 15, 2018

    @SilvioGrosso

    I encountered this same bug.
    Windows 10 (64 bit) - Nightly builds (12 November)
    I have downloaded: DB.Browser.for.SQLite-win64.exe

    Whenever you select the line with your SQL code an error always pops up.
    At present, it only works when you select the last group of lines of code

    Here is screenshot (the third SQL code works when I select it but not the previous two):
    sql_editor

  9. mgrojo commented on Nov 15, 2018

    @mgrojo
    Member

    Could it be #1575 (comment) (last Martin's answer). You don't use semicolons, so I guess it is related. What happens if you add semicolons?

  10. SilvioGrosso commented on Nov 15, 2018

    @SilvioGrosso

    Hello @mgrojo

    What happens if you add semicolons?

    Yep. You nailed it!
    As soon as I add the final semicolons ; my shortcuts (e.g. F5) work again.
    All in all, I am not sure whether this behaviour is a bug or a feature but thanks a lot for your suggestions though.
    In the long past I am pretty sure I was not forced to add any semicolon in the Editor SQL but again, from now on, I will keep this in mind... :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions