Sigil and text selection

I noticed that selecting text in the "code view" of Sigil by dragging the mouse+main button is awfully laggy.
This is true for the community package (0.8.6-2, got same behaviour after building it locally with -march=native) and the sigil-git from AUR.
Probably this is due to the change to QT5, but I do not know when this happened. I had not noticed the problem before, but I also have no clue if the version I was using was QT4 or QT5 based
This seems to be somehow known, I found a reference on one thread but no indication of fixes.
In contrast, kwrite (also based on QT5 but not sure if KDE runtime may have something on top) has no issue when selecting text with the mouse.
The workaround is simple: click once to set the cursor position, then do shift-click at the end of the intended selection. No lags when doing it like this. Also, selection with keyboard works OK (even if it feels a bit laggy).
Anyone else suffering from the same?

i have same problem. i opened a issue: https://github.com/user-none/Sigil/issues/39
Last edited by quellen (2015-05-16 11:47:20)

Similar Messages

  • Less-mouse and text selection

    I needed to scroll man pages with a mouse so I compiled the less-mouse from the AUR .
    Unfortunately the ability to use mouse for text selection is now lost (comparing to regular 'less'). In regular less left-button-drag selects stream of text and ctrl-left-button-drag selects a block of text.
    I tried to look closely at the patch to try to filter back in the text selection but my knowledge of C just isn't up to it.
    Mouse clicks in less-mouse are putting escape sequences in the status line. To get rid of those I managed to add two lines in decode.c, so that the program now processes only wheel events:
    decode.c (patched) at line 934:
    if ((b & 0x60) != 0x60) // only if bit 6 is 1 which means no wheel event
    return (1); // stop processing current mouse event
    // *hoping* that vte or X or whoever parses it further?
    I'd very much like to hear the advice on how to reinstate the ability of 'less-mouse' to select text.
    ps. I tried to use w3m as a pager too, but as far as I could tell it doesn't have the ability to select text either.

    Vimpager allows scrolling man pages with the mouse (its in the repos ( community/vimpager )). Install it and add this to your .zshrc (or .bashrc if you use bash):
    export PAGER=vimpager
    alias less=$PAGER
    alias zless=$PAGER

  • JSpinner getFocus and text selection

    Hi,
    I'm new to Java. I have 2 questions.
    1. I want to let my jSpinner component to be focus when tabbing to it.
    so I try to assign the sequence of tab order, like this :
            jTextField_name.setNextFocusableComponent(jSpinner_w);
            jSpinner_w.setNextFocusableComponent(jSpinner_h);
            jSpinner_h.setNextFocusableComponent(jComboBox_unit);
            jComboBox_unit.setNextFocusableComponent(jButton_OK);
            jButton_OK.setNextFocusableComponent(jButton_Cancel);however, the jSpinner looks not in focus in correct sequence. How can I do that?
    2. I also hope the text inside jSpinner can be highlighted once it gotfocus. I searched from forum, and tried the following code, however doen't work.
            ((JSpinner.DefaultEditor)jSpinner_w.getEditor()).getTextField().addFocusListener(   new FocusListener() {
               public void focusGained(FocusEvent e) {
                  ((JSpinner.DefaultEditor)jSpinner_w.getEditor()).getTextField().selectAll();             
               public void focusLost(FocusEvent e) { }
               } );Can anyone give me some suggestions? Thousand Thanks!!!

    however, the setNextFocus still doesn't work ...As documented in the API, the setNextFocusableComponent(...) method is deprecated.
    You can however create your own FocusTraversalPolicy. Here's an example:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class FocusTraversalTest extends JFrame {
         private JTextField field;
         private JSpinner spinner1, spinner2;
         private JComboBox combo;
         private JButton button;
         private JPanel panel;
         private Component comp1, comp2;
         public FocusTraversalTest() {
              try {
                   setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   setFocusTraversalPolicy(new MyFocusTraversalPolicy());
                   field = new JTextField(5);
                   spinner1 = new JSpinner();
                   spinner2 = new JSpinner();
                   combo = new JComboBox();
                   button = new JButton("Test");
                   panel = new JPanel(new GridLayout(5,1));
                   comp1 = ((JSpinner.DefaultEditor)spinner1.getEditor()).getTextField();
                   comp2 = ((JSpinner.DefaultEditor)spinner2.getEditor()).getTextField();
                   comp1.addFocusListener(new MyFocusListener());
                   comp2.addFocusListener(new MyFocusListener());
                   panel.add(field);
                   panel.add(spinner1);
                   panel.add(button);
                   panel.add(spinner2);
                   panel.add(combo);
                   getContentPane().add(panel);
                   pack();
                   setLocationRelativeTo(null);
                   setVisible(true);
              } catch (Exception e) { e.printStackTrace(); }
         public static void main(String[] args) { new FocusTraversalTest(); }
         class MyFocusTraversalPolicy extends FocusTraversalPolicy {
              public Component getComponentAfter(Container focusCycleRoot, Component comp) {
                   if (comp.equals(field)) {
                        return comp1;
                   } else if (comp.equals(comp1)) {
                        return comp2;
                   } else if (comp.equals(comp2)) {
                        return combo;
                   } else if (comp.equals(combo)) {
                        return button;
                   } else if (comp.equals(button)) {
                        return field;
                   return field;
              public Component getComponentBefore(Container focusCycleRoot, Component comp) {
                   if (comp.equals(field)) {
                        return button;
                   } else if (comp.equals(comp1)) {
                        return field;
                   } else if (comp.equals(comp2)) {
                        return comp1;
                   } else if (comp.equals(combo)) {
                        return comp2;
                   } else if (comp.equals(button)) {
                        return combo;
                   return field;
              public Component getDefaultComponent(Container focusCycleRoot) { return field; }
              public Component getLastComponent(Container focusCycleRoot) { return combo; }
              public Component getFirstComponent(Container focusCycleRoot) { return field; }
         class MyFocusListener extends FocusAdapter {
              public void focusGained(FocusEvent e) {
                   if (e.getSource() instanceof JTextComponent) {
                        final JTextComponent textComponent = (JTextComponent)e.getSource();
                        SwingUtilities.invokeLater(new Runnable() {
                             public void run() {
                                  textComponent.selectAll();
    }

  • Download and upload selection screen texts

    hello,
           My requirement is to upoad and download selection screen texts from one system to another..
           How do download  the selection screen texts from program to the application server and then upload them on another system. I am writing a bdc to carry out this process...
          Please help me out with this..
    Thank you,

    Hi,
      Why don't you just transport it? If it is linked you can asked basis to set the transport part and link it. If it is not you can download the transport and import it on another system.
      If you still need a program to do that. You can use SAPlink on [http://wiki.sdn.sap.com/wiki/display/ABAP/SAPlink]. SDN provided such code already just download it and implement it on both of your system then you can copy a program with selection screen.
    Cheers,
    Chaiphon

  • Preview's PDF text select ignores columns and misses word spaces

    I have a number of scanned pdf newspaper articles that I was attempting to copy the text from. Preview appears to register the existence of columns, as there is a pale blue background between the columns.
    However when I use the text select tool, it completely ignores the column - and just selects across all columns. And when I paste the text into my text editor, it's missing all the spaces between the words, and the font size is always huge.
    Conversely, Adobe reader in XP has no problem selecting by column, and the pasted text is also an exact replication of the original content. I don't know why Preview performs so badly in this regard? Anyone else experience any issues with pdf text select?

    Anyone else experience any issues with pdf text select?
    Yes, and not just recently.
    There is a reason Preview is named, well, preview. It is not an authoring environment and PDFs are not meant to serve in that context either...unless maybe you understand all of inherent the font traps, tricks & tips and how to tune your scanning/OCR software to keep rework to a minimum.
    Scanning PDFs is always tricky, and without the occasional heavy metal to bring to the task, it just seems to be that more problematic.
    Keep trying, but I'd really suggest to look to other tools at this time.

  • No voice when selecting "start speeking" in mail, but works fine in Safari and text edit.

    No voice in "mac mail" on IMac Lion 10.7.2. when I select Start speeking,
    Works fine in Safari and text edit.
    Also works fine in Mail on my Macbook Pro 10.6.8

    I Plugged Headphones in to headphone jack and selected speech in mail and could here voice through headphones.
    Disconnected headphones and 'Mail' 'Speech' now plays fine through speakers ?

  • Key and text replaced with "???" in variable selection after SPS Upgrade

    Hello community
    I have a problem regarding the variable screen.
    We recently upgraded to SAPKW70021 and SP19 in Java. After this a problem appeared in web reporting and variable selection. When users are prompted to enter a value for fiscal year for example, the input help displays "???" instead of years. When you choose an "???" randomly from the list and add to your selection, the year is displayed correctly.  The same issue is present with company code selection and other user input variables as well, the selection list is filled with "???" for both key and text.
    Does anyone have any suggestions on how to fix this problem?
    best regards
    Antti Lyytikäinen

    Hi,
    Note 1368055 describes this issue. You need to implement the mentioned java patch for the BI components and set the parameter mentioned in the note to solve this issue.
    Best regards,
    Janine

  • Enabling Key and text for the Variable Selection screen

    I need to display key and text for a characteristic when selecting the drop down menu in the variable selection screen of a web report. In the Business Explorer tab within the info-object, I changed the General Settings to display Key and text, but when I open the drop down menu for this characteristic, it is still displaying the key only. Is there some other place where this change needs to happen?

    Hi,
    Did you try to log out and log in again into BEx?
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • Display Key and Text in Variable Selection Box by Default in BEx

    Hi Experts,
    I have a requirement to display both key and text in the variable selection box by default.
    Currently, only the text is being displayed.
    The 'wrench' can be used to change the display, but the client would like to see both key and text by default.
    Is there  a way I can accomplish this?
    Thanks,
    Points will be assigned!

    hi experts,
    i have done the same settings in development and its working fine and we can see key/text bydefault in variable selection in Dev. and when i transport the cube into quality the settings are reflecting but in analyzer(QA) variable selection screen still its giving text(DEFAULT). could you please provide me the solutions to do it.
    thanks & Regards
    vadlamudi

  • "Key and Text" values in variable selection list for a field

    Hi,
          we have created the variable for the one of the navigation attributes of the "0customer" field .
          for the customer field in BEX settings we are having "Text" as display.
          for the navigation field in BEX settings we are having "Key" as display.
          while running the reports in the variable selection list for some reports we having both KEY and text for selection and for others only text are displayed,
        we have checked the BEX settings in field and query level there are same.
    Please help us here.

    Check the setting again in the Query level and then maku sure you save it. Come out of the query and then re-open the query and execute, you can see the chages in the output.

  • Key and Text in selection criteria depending on user

    Hello,
    I have strange situation and I have no idea how to fix this issue. I built the report in BEx and present it to the users. When they expand the selection criteria options (from first pop-up window of variables), they want to see both texts and keys. All of them set up the option "Key and Text" from settings, but some of them see descriptions, some of them see only keys given twice (what happens when there are no descriptions for masterdata). It is a big surprise for me and I am not able to fix it. Do you have any idea?
    Best Regards,
    Arelis

    Hello,
    I use BEx Analyzer. The patch level is the same.
    Masterdata texts are maintained of course. It it wouldn't - noone would see the texts.
    Arelis

  • Selection text and text elements contents not displayed

    I have a language related problem
    I have 2 servers .
    In first server I logged in english language and the selection text and text elements are displayed in English.
    The requirement is I dont want to translate these texts it should be displayed in English only even if I log into SAP with other language.
    So if I log in german I see the texts in English in the first server.
    But this is not the case with second.
    If I log in with English I see the english texts but if I do in german I am not able to see this english text with proper contents .
    Can anybody let me know if there are any settings to be done ? As its working fine in first server but not in second .
    Edited by: Jalpa Shukla on Oct 22, 2008 11:19 AM

    Hello Jalpa Shukla,
    If you want to display the text in english language only better dont use Text-element
    instead of using text element you hard the text in the program then you will display the text in same in English.
    Try in this way, If not past the code i will give the solution

  • Need to Update SELECTION TEXT and text symbols for report J_1IEWT_CERT.

    Hello Experts,
    My requirement is need to "Update SELECTION TEXT and text symbols for report J_1IEWT_CERT".
    1. As I want to change text sysmbols for 006 to "Run in preview mode". Currently it showing "Type of output". Issue I am facing here is that whenever I deleting aur changing the same it throws an error : "Text symbol 006 is an original text and cannot b
    deleted or renamed".  How can I do the same.
    2. Secondly I have to add two selection text also i.e. ZFATHER and PREV . And delete two selection text i.e. P_PDF and
    P_SCRIPT. In this Tab there is only a Icon of deleting not an Addition button .So How can I add two more selection text.
    Above are Manual Activities which is written in note 1486147. We already taken an acess key and it shows in editable mode but
    not able to add/deletin/modify selection text and text symbols.
    Please provide the solution as it is critical requirement.
    Reagrds,
    Supriya Bhatt.

    Hi Vishal Saxena,
    Just go through the screens and do it .
    [<li> Link1|http://4.bp.blogspot.com/_O5f8iAlgdNQ/SjoVqL9rnvI/AAAAAAAAEs4/fPG7IG9yGK4/s1600-h/3-716953.JPG]
    [<li> Link2|http://1.bp.blogspot.com/_O5f8iAlgdNQ/SjoVp3d9uEI/AAAAAAAAEso/ZxfkeNAiOZQ/s1600-h/1-715669.JPG]
    [<li> Link3|http://2.bp.blogspot.com/_O5f8iAlgdNQ/SjoVqIbpNpI/AAAAAAAAEsw/2ntYgX-i1Dc/s1600-h/2-716353.JPG]
    Thanks
    Venkat.O

  • Selecting textframe and text inside with 3 clicks

    This was possible in InDesign-Versions previous to InDesign CC. Now, if I double-click a textframe i have to wait 1 second, then i'm able to select text with another double click.
    That is very annoying and disturbs my working process. Is someone else facing this issue?
    The answer from the Adobe LiveChat-Support was "we have something changed" and questions in the kind of "First: Have you already turned your machine on?".
    Friendly as they are the gave me an mysterious adress to a cave somewhere in US, where I can dig for further answers. Fine.

    Sorry, that is not my point, changing settings as you propose doesn't solve my problem.
    This triple click is meant if the cursor is already blinking in the selected textframe.
    @Peter Spier: I change nothing in my prefs. Thats how it works since I installed InDesign CC without any changes.
    No matter how often I click once - InDesign CC does not select text. I have to wait one second and then I have to double click, or triple click to select a word or a line.
    I older versions it was possible just to click three times and text was selected - without switchen first to the text-tool.
    I work very fast on an InDesign-Document, often image-frames and text-frames step by step. So it slows me down if I have to wait one second so I'm able to select text...
    I try this explanation, so you can reproduce the error:
    1. create a text frame and enter some text
    2. Switch from text-tool to the selection-tool (Key "V" or Escape-Key)
    3. Click several times (i mean 10 times and more) fast on a word in the textframe. You will see that in InDesign CC no text will be selected. You have to wait 1 second, then the text-tool will be activated and then you are able to select text. I previous InDesign versions after 3 clicks there was text selected - without selecting first the text-tool.
    Understand my problem? In a fast workflow it is unacceptable to wait 1 second because of a UI-Bug...

  • Get text selection and properties

    Hi All,
    I need to get the text selection in my active document so that I can access the properties of selected text like paragraphs, font styles, colors etc.
    I wrote the following script to get text selection,
    var objDoc = app.activeDocument;
    var objText = app.selection[0];
    This gives me objText as a Text object. When I try to access paragraphs in this text, I get the full contents of the para, not just the ones in the selection. I do not want this. I want to access properties in just the text selection.
    How can I achieve this?

    Just to illustrate my last point:
    Here an example with a paragraph formatted with only one GREP Style, letter "b" should change color to Cyan. If you select letter b only, the textStyleRange includes letter "b" (no surprise here) but also all the characters to the end!
    Code:
    var mySelection = app.selection[0];
    var myTextStyleRanges = mySelection.texts[0].textStyleRanges.everyItem().getElements();
    for(var n=0;n<myTextStyleRanges.length;n++){
        $.writeln(myTextStyleRanges[n].texts[0].contents);
        $.writeln(myTextStyleRanges[n].texts[0].fillColor.name);
    Result in the console:
    bcccddddd
    C=100 M=0 Y=0 K=0
    Which is misleading…
    Further we could try to get the fill Color for all characters of the textStyleRange and ask them about their fillColor.name:
    var mySelection = app.selection[0];
    var myTextStyleRanges = mySelection.texts[0].textStyleRanges.everyItem().getElements();
    for(var n=0;n<myTextStyleRanges.length;n++){
        $.writeln("Contents of Range:"+"\r"+myTextStyleRanges[n].texts[0].contents);
        $.writeln("fillColor.name of Range:"+"\r"+myTextStyleRanges[n].texts[0].fillColor.name);
        var allCharsInRange = myTextStyleRanges[n].texts[0].characters.everyItem().getElements();
        for(var c=0;c<allCharsInRange.length;c++){
            $.writeln("Index number of loop: "+c+"\t"+allCharsInRange[c].contents+"\t"+allCharsInRange[c].fillColor.name);
    The result for my example would be:
    First column of result: index number of for loop (0-8), there are 9 characters in the one and only range
    Second column: contents of the single character
    Third column: fillColor.name of the character
    Contents of Range:
    bcccddddd
    fillColor.name of Range:
    C=100 M=0 Y=0 K=0
    Index number of loop: 0    b    C=100 M=0 Y=0 K=0
    Index number of loop: 1    c    Black
    Index number of loop: 2    c    Black
    Index number of loop: 3    c    Black
    Index number of loop: 4    d    Black
    Index number of loop: 5    d    Black
    Index number of loop: 6    d    Black
    Index number of loop: 7    d    Black
    Index number of loop: 8    d    Black
    Uwe

Maybe you are looking for

  • JDev 10.1.2: How to update an attribute which is rendered as read-only

    Hello guys, I hope someone can help me with this, I think it should be something easy to do: I have a UIX page which renders an input form to update a record, in this input form I want to display (as read-only) the user id which is performing the upd

  • Payment Advice not spooling in SP02

    Hi, Payment advice was not getting spooled in SP02 for BACS Payment Method. However, the payment advice is getting triggered with email. The email is delivering perfectly fine. Even though I have removed the email address from the Vendor Master and c

  • Section in J1INCERT - TDS Certificate

    Hello Gurus, When I am trying to print TDS Certificate through J1INCERT. It gives all the details correctly except section (Nature of Payment) I have deducted the tax of various documents u/s 194I and when i give input in section as 194C in J1INCERT,

  • Error when executing script

    I have an asp web page which is calling a pl/sql script and passing a parameter into it. the script works from sqlplus fine but when i run it through the asp page I get the following error Error Type: OraOLEDB (0x80040E14) ORA-06550: line 1, column 7

  • Getting manager hierarchy using LDAP

    I have a set of oracle email ids. I would like to get their manager hierarchy as well as Job title. Is this possible using LDAP. If so can someone please explain with a code snippet. Thanks.